/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderSliderThumb.cpp | 45 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 D | RenderPagedFlowThread.cpp | 10 RenderPagedFlowThread* RenderPagedFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle) argument 14 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
|
H A D | RenderSliderThumb.h | 45 void updateAppearance(RenderStyle* parentStyle);
|
H A D | RenderPagedFlowThread.h | 18 static RenderPagedFlowThread* createAnonymous(Document&, RenderStyle* parentStyle);
|
H A D | RenderMultiColumnFlowThread.h | 91 static RenderMultiColumnFlowThread* createAnonymous(Document&, RenderStyle* parentStyle);
|
H A D | RenderMultiColumnFlowThread.cpp | 47 RenderMultiColumnFlowThread* RenderMultiColumnFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle) argument 51 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
|
H A D | RenderMultiColumnSet.h | 57 static RenderMultiColumnSet* createAnonymous(RenderFlowThread*, RenderStyle* parentStyle);
|
H A D | RenderInline.cpp | 238 RenderStyle* parentStyle = parent()->style(); 242 || (parentRenderInline && parentStyle->verticalAlign() != BASELINE) 245 || (checkFonts && (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(style()->font().fontMetrics()) 246 || parentStyle->lineHeight() != style()->lineHeight())); 250 parentStyle = parent()->style(true); 252 alwaysCreateLineBoxesNew = !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics()) 254 || parentStyle->lineHeight() != childStyle->lineHeight();
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | StyleAdjuster.h | 43 void adjustRenderStyle(RenderStyle* styleToAdjust, RenderStyle* parentStyle, Element*, const CachedUAStyle*); 46 void adjustStyleForDisplay(RenderStyle* styleToAdjust, RenderStyle* parentStyle); 47 void adjustStyleForTagName(RenderStyle* styleToAdjust, RenderStyle* parentStyle, Element&); 49 void adjustStyleForAlignment(RenderStyle& styleToAdjust, const RenderStyle& parentStyle);
|
H A D | StyleResolverState.cpp | 32 StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle) argument 37 , m_parentStyle(parentStyle) 43 if (!parentStyle && m_elementContext.parentNode())
|
H A D | MatchedPropertiesCache.h | 47 void set(const RenderStyle*, const RenderStyle* parentStyle, const MatchResult&); 68 void add(const RenderStyle*, const RenderStyle* parentStyle, unsigned hash, const MatchResult&); 73 static bool isCacheable(const Element*, const RenderStyle*, const RenderStyle* parentStyle);
|
H A D | StyleAdjuster.cpp | 119 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 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:blink::StyleResolverState 76 RenderStyle* parentStyle() { return m_parentStyle.get(); } function in class:blink::StyleResolverState
|
H A D | MatchedPropertiesCache.cpp | 66 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 D | FontBuilder.h | 73 void createFont(PassRefPtrWillBeRawPtr<FontSelector>, const RenderStyle* parentStyle, RenderStyle*); 102 void checkForGenericFamilyChange(RenderStyle*, const RenderStyle* parentStyle); 103 void updateComputedSize(RenderStyle*, const RenderStyle* parentStyle);
|
H A D | StyleBuilderCustom.cpp | 115 ASSERT(!isInherit || (state.parentNode() && state.parentStyle())); // isInherit -> (state.parentNode() && state.parentStyle()) 122 if (isInherit && !state.parentStyle()->hasExplicitlyInheritedProperties() && !CSSPropertyMetadata::isInheritedProperty(id)) 123 state.parentStyle()->setHasExplicitlyInheritedProperties(); 139 Color color = state.parentStyle()->color(); 170 state.style()->setJustifyItems(state.parentStyle()->justifyItems()); 171 state.style()->setJustifyItemsOverflowAlignment(state.parentStyle()->justifyItemsOverflowAlignment()); 172 state.style()->setJustifyItemsPositionType(state.parentStyle()->justifyItemsPositionType()); 200 state.style()->setCursor(state.parentStyle()->cursor()); 201 state.style()->setCursorList(state.parentStyle() [all...] |
H A D | StyleResolver.h | 106 PassRefPtr<RenderStyle> styleForElement(Element*, RenderStyle* parentStyle = 0, StyleSharingBehavior = AllowStyleSharing, 109 PassRefPtr<RenderStyle> styleForKeyframe(Element&, const RenderStyle&, RenderStyle* parentStyle, const StyleKeyframe*, const AtomicString& animationName); 113 PassRefPtr<RenderStyle> pseudoStyleForElement(Element*, const PseudoStyleRequest&, RenderStyle* parentStyle); 266 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, RenderStyle* parentStyle, StyleResolverState&);
|
H A D | FontBuilder.cpp | 398 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 D | StyleResolver.cpp | 536 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...] |
H A D | StyleBuilderConverter.cpp | 140 RedirectSetHasViewportUnits redirect(state.parentStyle(), state.style()); 142 CSSToLengthConversionData conversionData(state.parentStyle(), state.rootElementStyle(), state.document().renderView(), 1.0f, true); 158 // FIXME: Find out when parentStyle could be 0? 159 if (state.parentStyle()) 196 return FontDescription::bolderWeight(state.parentStyle()->fontDescription().weight()); 198 return FontDescription::lighterWeight(state.parentStyle()->fontDescription().weight());
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | PseudoStyleRequest.h | 55 bool allowsInheritance(const RenderStyle* parentStyle) const 57 return parentStyle && pseudoId != BACKDROP;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGElementRareData.cpp | 22 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/html/ |
H A D | HTMLOptionElement.cpp | 413 RenderStyle* parentStyle = parent->renderStyle() ? parent->renderStyle() : parent->computedStyle(); local 414 return !parentStyle || parentStyle->display() == NONE;
|
/external/chromium_org/third_party/WebKit/Source/core/animation/css/ |
H A D | CSSAnimations.cpp | 85 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);
|
H A D | CSSAnimations.h | 178 static PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> calculateUpdate(const Element* animatingElement, Element&, const RenderStyle&, RenderStyle* parentStyle, StyleResolver*); 213 static void calculateAnimationUpdate(CSSAnimationUpdate*, const Element* animatingElement, Element&, const RenderStyle&, RenderStyle* parentStyle, StyleResolver*);
|