/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | StyleResolverState.cpp | 32 StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle) argument 37 , m_parentStyle(parentStyle) 44 if (!parentStyle && m_elementContext.parentNode())
|
H A D | MatchedPropertiesCache.cpp | 38 void CachedMatchedProperties::set(const RenderStyle* style, const RenderStyle* parentStyle, const MatchResult& matchResult) argument 46 this->parentRenderStyle = RenderStyle::clone(parentStyle); 86 void MatchedPropertiesCache::add(const RenderStyle* style, const RenderStyle* parentStyle, unsigned hash, const MatchResult& matchResult) argument 104 cacheItem->set(style, parentStyle, matchResult); 145 bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle) argument 150 if (style->unique() || (style->styleType() != NOPSEUDO && parentStyle->unique())) 164 if (parentStyle->hasExplicitlyInheritedProperties())
|
H A D | StyleAdjuster.cpp | 161 static bool parentStyleForcesZIndexToCreateStackingContext(const RenderStyle* parentStyle) argument 163 return isDisplayFlexibleBox(parentStyle->display()) || isDisplayGridBox(parentStyle->display()); 197 void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e, const CachedUAStyle* cachedUAStyle) argument 199 ASSERT(parentStyle); 203 adjustStyleForTagName(style, parentStyle, *e); 213 adjustStyleForDisplay(style, parentStyle); 217 if (style->position() == StaticPosition && !parentStyleForcesZIndexToCreateStackingContext(parentStyle)) 289 void StyleAdjuster::adjustStyleForTagName(RenderStyle* style, RenderStyle* parentStyle, Element& element) argument 410 void StyleAdjuster::adjustStyleForDisplay(RenderStyle* style, RenderStyle* parentStyle) argument [all...] |
H A D | StyleResolverState.h | 48 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:WebCore::StyleResolverState 76 RenderStyle* parentStyle() { return m_parentStyle.get(); } function in class:WebCore::StyleResolverState
|
H A D | FontBuilder.cpp | 278 void FontBuilder::setFontSizeValue(CSSValue* value, RenderStyle* parentStyle, const RenderStyle* rootElementStyle) argument 292 // FIXME: Find out when parentStyle could be 0? 293 if (parentStyle) { 294 parentSize = parentStyle->fontDescription().specifiedSize(); 295 parentIsAbsoluteSize = parentStyle->fontDescription().isAbsoluteSize(); 328 bool parentHasViewportUnits = parentStyle->hasViewportUnits(); 329 parentStyle->setHasViewportUnits(false); 330 CSSToLengthConversionData conversionData(parentStyle, rootElementStyle, m_document->renderView(), 1.0f, true); 337 m_fontSizehasViewportUnits = parentStyle->hasViewportUnits(); 338 parentStyle 593 checkForGenericFamilyChange(RenderStyle* style, const RenderStyle* parentStyle) argument 629 updateComputedSize(RenderStyle* style, const RenderStyle* parentStyle) argument 637 createFont(PassRefPtrWillBeRawPtr<FontSelector> fontSelector, const RenderStyle* parentStyle, RenderStyle* style) argument [all...] |
H A D | StyleBuilderCustom.cpp | 117 ASSERT(!isInherit || (state.parentNode() && state.parentStyle())); // isInherit -> (state.parentNode() && state.parentStyle()) 128 if (isInherit && !state.parentStyle()->hasExplicitlyInheritedProperties() && !CSSProperty::isInheritedProperty(id)) 129 state.parentStyle()->setHasExplicitlyInheritedProperties(); 147 RenderStyle* parentStyle = state.parentStyle(); local 148 if (!parentStyle->hasClip()) 150 state.style()->setClip(parentStyle->clipTop(), parentStyle->clipRight(), parentStyle [all...] |
H A D | StyleResolver.cpp | 585 adjuster.adjustRenderStyle(state.style(), state.parentStyle(), element, state.cachedUAStyle()); 624 if (sharingBehavior == AllowStyleSharing && state.parentStyle()) { 630 if (state.parentStyle()) { 632 state.style()->inheritFrom(state.parentStyle(), isAtShadowBoundary(element) ? RenderStyle::AtShadowBoundary : RenderStyle::NotAtShadowBoundary); 698 PassRefPtr<RenderStyle> StyleResolver::styleForKeyframe(Element* element, const RenderStyle& elementStyle, RenderStyle* parentStyle, const StyleKeyframe* keyframe, const AtomicString& animationName) argument 706 StyleResolverState state(document(), element, parentStyle); local 784 RenderStyle* parentStyle = parentRenderer->style(); 785 if (RenderStyle* cachedStyle = parentStyle->getCachedPseudoStyle(pseudoId)) { 791 StyleResolverState state(document(), &parent, parentStyle); local 792 if (!pseudoStyleForElementInternal(parent, pseudoId, parentStyle, stat 809 pseudoStyleForElementInternal(Element& element, const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle, StyleResolverState& state) argument 869 pseudoStyleForElement(Element* element, const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/css/ |
H A D | CSSAnimations.cpp | 86 static void resolveKeyframes(StyleResolver* resolver, Element* element, const Element& parentElement, const RenderStyle& style, RenderStyle* parentStyle, const AtomicString& name, TimingFunction* defaultTimingFunction, argument 104 RefPtr<RenderStyle> keyframeStyle = resolver->styleForKeyframe(element, style, parentStyle, styleKeyframe, name); 117 if (value->isInheritedValue() && parentStyle->animations()) 118 timingFunction = parentStyle->animations()->timingFunctionList()[0]; 225 PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> CSSAnimations::calculateUpdate(Element* element, const Element& parentElement, const RenderStyle& style, RenderStyle* parentStyle, StyleResolver* resolver) 228 calculateAnimationUpdate(update.get(), element, parentElement, style, parentStyle, resolver); 235 void CSSAnimations::calculateAnimationUpdate(CSSAnimationUpdate* update, Element* element, const Element& parentElement, const RenderStyle& style, RenderStyle* parentStyle, StyleResolver* resolver) 282 resolveKeyframes(resolver, element, parentElement, style, parentStyle, animationName, keyframeTimingFunction.get(), resolvedKeyframes);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGElementRareData.h | 76 RenderStyle* overrideComputedStyle(Element* element, RenderStyle* parentStyle) argument 83 m_overrideComputedStyle = element->document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderMultiColumnFlowThread.cpp | 46 RenderMultiColumnFlowThread* RenderMultiColumnFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle) argument 50 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
|
H A D | RenderMultiColumnSet.cpp | 46 RenderMultiColumnSet* RenderMultiColumnSet::createAnonymous(RenderFlowThread* flowThread, RenderStyle* parentStyle) argument 51 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
|
H A D | RenderFlexibleBox.cpp | 199 static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) argument 203 align = parentStyle->alignItems();
|
H A D | InlineFlowBox.cpp | 121 RenderStyle* parentStyle = renderer().style(isFirstLineStyle()); local 128 if (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics()) 129 || parentStyle->lineHeight() != childStyle->lineHeight() 130 || (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign() != BASELINE) 145 || !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics()) 146 || parentStyle->lineHeight() != childStyle->lineHeight() 147 || (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign() != BASELINE
|
H A D | RenderObject.cpp | 3064 RenderStyle* parentStyle = rendererForFirstLineStyle->parent()->firstLineStyle(); local 3065 if (parentStyle != rendererForFirstLineStyle->parent()->style()) { 3069 return rendererForFirstLineStyle->getCachedPseudoStyle(FIRST_LINE_INHERITED, parentStyle); 3071 return rendererForFirstLineStyle->getUncachedPseudoStyle(PseudoStyleRequest(FIRST_LINE_INHERITED), parentStyle, style); 3097 RenderStyle* RenderObject::getCachedPseudoStyle(PseudoId pseudo, RenderStyle* parentStyle) const 3106 RefPtr<RenderStyle> result = getUncachedPseudoStyle(PseudoStyleRequest(pseudo), parentStyle); 3112 PassRefPtr<RenderStyle> RenderObject::getUncachedPseudoStyle(const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle, RenderStyle* ownStyle) const argument 3117 if (!parentStyle) { 3119 parentStyle = style(); 3130 RefPtr<RenderStyle> result = document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharin [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | SliderThumbElement.cpp | 75 void RenderSliderThumb::updateAppearance(RenderStyle* parentStyle) argument 77 if (parentStyle->appearance() == SliderVerticalPart) 79 else if (parentStyle->appearance() == SliderHorizontalPart) 81 else if (parentStyle->appearance() == MediaSliderPart) 83 else if (parentStyle->appearance() == MediaVolumeSliderPart) 85 else if (parentStyle->appearance() == MediaFullScreenVolumeSliderPart)
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | RenderStyle.cpp | 86 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 D | xslt.c | 6471 * @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
|