Searched defs:parentStyle (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderSliderThumb.cpp45 void RenderSliderThumb::updateAppearance(RenderStyle* parentStyle) argument
47 if (parentStyle->appearance() == SliderVerticalPart)
49 else if (parentStyle->appearance() == SliderHorizontalPart)
51 else if (parentStyle->appearance() == MediaSliderPart)
53 else if (parentStyle->appearance() == MediaVolumeSliderPart)
55 else if (parentStyle->appearance() == MediaFullScreenVolumeSliderPart)
H A DRenderPagedFlowThread.cpp10 RenderPagedFlowThread* RenderPagedFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle) argument
14 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
H A DRenderMultiColumnFlowThread.cpp47 RenderMultiColumnFlowThread* RenderMultiColumnFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle) argument
51 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
H A DRenderMultiColumnSet.cpp47 RenderMultiColumnSet* RenderMultiColumnSet::createAnonymous(RenderFlowThread* flowThread, RenderStyle* parentStyle) argument
52 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
H A DInlineFlowBox.cpp122 RenderStyle* parentStyle = renderer().style(isFirstLineStyle()); local
129 if (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
130 || parentStyle->lineHeight() != childStyle->lineHeight()
131 || (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign() != BASELINE)
146 || !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
147 || parentStyle->lineHeight() != childStyle->lineHeight()
148 || (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign() != BASELINE
H A DRenderFlexibleBox.cpp196 static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) argument
200 align = (parentStyle->alignItems() == ItemPositionAuto) ? ItemPositionStretch : parentStyle->alignItems();
H A DRenderGrid.cpp1174 static ItemPosition resolveJustification(const RenderStyle* parentStyle, const RenderStyle* childStyle) argument
1178 justify = (parentStyle->justifyItems() == ItemPositionAuto) ? ItemPositionStretch : parentStyle->justifyItems();
1295 static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) argument
1300 align = (parentStyle->alignItems() == ItemPositionAuto) ? ItemPositionStretch : parentStyle->alignItems();
H A DRenderObject.cpp2671 RenderStyle* parentStyle = rendererForFirstLineStyle->parent()->firstLineStyle(); local
2672 if (parentStyle != rendererForFirstLineStyle->parent()->style()) {
2676 return rendererForFirstLineStyle->getCachedPseudoStyle(FIRST_LINE_INHERITED, parentStyle);
2678 return rendererForFirstLineStyle->getUncachedPseudoStyle(PseudoStyleRequest(FIRST_LINE_INHERITED), parentStyle, style);
2704 RenderStyle* RenderObject::getCachedPseudoStyle(PseudoId pseudo, RenderStyle* parentStyle) const
2713 RefPtr<RenderStyle> result = getUncachedPseudoStyle(PseudoStyleRequest(pseudo), parentStyle);
2719 PassRefPtr<RenderStyle> RenderObject::getUncachedPseudoStyle(const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle, RenderStyle* ownStyle) const argument
2724 if (!parentStyle) {
2726 parentStyle = style();
2737 RefPtr<RenderStyle> result = document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharin
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DStyleResolverState.cpp32 StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle) argument
37 , m_parentStyle(parentStyle)
43 if (!parentStyle && m_elementContext.parentNode())
H A DStyleAdjuster.cpp119 static bool parentStyleForcesZIndexToCreateStackingContext(const RenderStyle* parentStyle) argument
121 return parentStyle->isDisplayFlexibleOrGridBox();
155 void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e, const CachedUAStyle* cachedUAStyle) argument
157 ASSERT(parentStyle);
161 adjustStyleForTagName(style, parentStyle, *e);
171 adjustStyleForDisplay(style, parentStyle);
175 if (style->position() == StaticPosition && !parentStyleForcesZIndexToCreateStackingContext(parentStyle))
245 adjustStyleForAlignment(*style, *parentStyle);
248 void StyleAdjuster::adjustStyleForAlignment(RenderStyle& style, const RenderStyle& parentStyle) argument
259 if (parentStyle
300 adjustStyleForTagName(RenderStyle* style, RenderStyle* parentStyle, Element& element) argument
421 adjustStyleForDisplay(RenderStyle* style, RenderStyle* parentStyle) argument
[all...]
H A DMatchedPropertiesCache.cpp66 void CachedMatchedProperties::set(const RenderStyle* style, const RenderStyle* parentStyle, const MatchResult& matchResult) argument
74 this->parentRenderStyle = RenderStyle::clone(parentStyle);
116 void MatchedPropertiesCache::add(const RenderStyle* style, const RenderStyle* parentStyle, unsigned hash, const MatchResult& matchResult) argument
136 cacheItem->set(style, parentStyle, matchResult);
179 bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle) argument
184 if (style->unique() || (style->styleType() != NOPSEUDO && parentStyle->unique()))
193 if (parentStyle->hasExplicitlyInheritedProperties())
H A DStyleResolverState.h48 StyleResolverState(Document&, Element*, RenderStyle* parentStyle = 0);
74 void setParentStyle(PassRefPtr<RenderStyle> parentStyle) { m_parentStyle = parentStyle; } argument
75 const RenderStyle* parentStyle() const { return m_parentStyle.get(); } function in class:blink::StyleResolverState
76 RenderStyle* parentStyle() { return m_parentStyle.get(); } function in class:blink::StyleResolverState
H A DFontBuilder.cpp398 void FontBuilder::checkForGenericFamilyChange(RenderStyle* style, const RenderStyle* parentStyle) argument
402 if (scope.fontDescription().isAbsoluteSize() || !parentStyle)
405 const FontDescription& parentFontDescription = parentStyle->fontDescription();
435 void FontBuilder::updateComputedSize(RenderStyle* style, const RenderStyle* parentStyle) argument
451 void FontBuilder::createFont(PassRefPtrWillBeRawPtr<FontSelector> fontSelector, const RenderStyle* parentStyle, RenderStyle* style) argument
456 updateComputedSize(style, parentStyle);
457 checkForGenericFamilyChange(style, parentStyle);
H A DStyleResolver.cpp536 adjuster.adjustRenderStyle(state.style(), state.parentStyle(), element, state.cachedUAStyle());
575 if (sharingBehavior == AllowStyleSharing && state.parentStyle()) {
581 if (state.parentStyle()) {
583 state.style()->inheritFrom(state.parentStyle(), isAtShadowBoundary(element) ? RenderStyle::AtShadowBoundary : RenderStyle::NotAtShadowBoundary);
649 PassRefPtr<RenderStyle> StyleResolver::styleForKeyframe(Element& element, const RenderStyle& elementStyle, RenderStyle* parentStyle, const StyleKeyframe* keyframe, const AtomicString& animationName) argument
657 StyleResolverState state(document(), &element, parentStyle); local
731 RenderStyle* parentStyle = parentRenderer->style();
732 if (RenderStyle* cachedStyle = parentStyle->getCachedPseudoStyle(pseudoId)) {
738 StyleResolverState state(document(), &parent, parentStyle); local
739 if (!pseudoStyleForElementInternal(parent, pseudoId, parentStyle, stat
756 pseudoStyleForElementInternal(Element& element, const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle, StyleResolverState& state) argument
816 pseudoStyleForElement(Element* element, const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGElementRareData.cpp22 RenderStyle* SVGElementRareData::overrideComputedStyle(Element* element, RenderStyle* parentStyle) argument
29 m_overrideComputedStyle = element->document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL);
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
H A DCSSAnimations.cpp85 static void resolveKeyframes(StyleResolver* resolver, const Element* animatingElement, Element& element, const RenderStyle& style, RenderStyle* parentStyle, const AtomicString& name, TimingFunction* defaultTimingFunction, argument
102 RefPtr<RenderStyle> keyframeStyle = resolver->styleForKeyframe(element, style, parentStyle, styleKeyframe, name);
115 if (value->isInheritedValue() && parentStyle->animations())
116 timingFunction = parentStyle->animations()->timingFunctionList()[0];
224 PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> CSSAnimations::calculateUpdate(const Element* animatingElement, Element& element, const RenderStyle& style, RenderStyle* parentStyle, StyleResolver* resolver)
227 calculateAnimationUpdate(update.get(), animatingElement, element, style, parentStyle, resolver);
234 void CSSAnimations::calculateAnimationUpdate(CSSAnimationUpdate* update, const Element* animatingElement, Element& element, const RenderStyle& style, RenderStyle* parentStyle, StyleResolver* resolver)
281 resolveKeyframes(resolver, animatingElement, element, style, parentStyle, animationName, keyframeTimingFunction.get(), resolvedKeyframes);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLOptionElement.cpp413 RenderStyle* parentStyle = parent->renderStyle() ? parent->renderStyle() : parent->computedStyle(); local
414 return !parentStyle || parentStyle->display() == NONE;
/external/chromium_org/third_party/angle/util/win32/
H A DWin32Window.cpp417 DWORD parentStyle = WS_VISIBLE | WS_CAPTION | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_SYSMENU; local
421 AdjustWindowRectEx(&sizeRect, parentStyle, FALSE, parentExtendedStyle);
423 mParentWindow = CreateWindowExA(parentExtendedStyle, mParentClassName.c_str(), name.c_str(), parentStyle, CW_USEDEFAULT, CW_USEDEFAULT,
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp86 PassRefPtr<RenderStyle> RenderStyle::createAnonymousStyleWithDisplay(const RenderStyle* parentStyle, EDisplay display) argument
89 newStyle->inheritFrom(parentStyle);
90 newStyle->inheritUnicodeBidiFrom(parentStyle);
/external/chromium_org/third_party/libxslt/libxslt/
H A Dxslt.c6471 * @parentStyle: pointer to the parent stylesheet (if it exists)
6481 xsltStylesheetPtr parentStyle) {
6493 retStyle->parent = parentStyle;
6519 if (parentStyle == NULL) {
6560 retStyle->principal = parentStyle->principal;
6561 cctxt = parentStyle->compCtxt;
6575 if (parentStyle == NULL) {
6608 if (parentStyle == NULL) {
6635 if (parentStyle == NULL)
6480 xsltParseStylesheetImportedDoc(xmlDocPtr doc, xsltStylesheetPtr parentStyle) argument

Completed in 757 milliseconds