HomeSort by relevance Sort by last modified time
    Searched refs:parentStyle (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderSliderThumb.cpp 45 void RenderSliderThumb::updateAppearance(RenderStyle* parentStyle)
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)
RenderSliderThumb.h 45 void updateAppearance(RenderStyle* parentStyle);
RenderPagedFlowThread.cpp 10 RenderPagedFlowThread* RenderPagedFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle)
14 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
RenderPagedFlowThread.h 18 static RenderPagedFlowThread* createAnonymous(Document&, RenderStyle* parentStyle);
RenderMultiColumnFlowThread.h 91 static RenderMultiColumnFlowThread* createAnonymous(Document&, RenderStyle* parentStyle);
RenderMultiColumnSet.h 57 static RenderMultiColumnSet* createAnonymous(RenderFlowThread*, RenderStyle* parentStyle);
RenderMultiColumnFlowThread.cpp 47 RenderMultiColumnFlowThread* RenderMultiColumnFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle)
51 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
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();
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
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);
StyleResolverState.cpp 32 StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle)
37 , m_parentStyle(parentStyle)
43 if (!parentStyle && m_elementContext.parentNode())
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);
StyleAdjuster.cpp 119 static bool parentStyleForcesZIndexToCreateStackingContext(const RenderStyle* parentStyle)
121 return parentStyle->isDisplayFlexibleOrGridBox();
155 void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e, const CachedUAStyle* cachedUAStyle)
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)
259 if (parentStyle.justifyItemsPositionType() == LegacyPosition)
    [all...]
StyleResolverState.h 48 StyleResolverState(Document&, Element*, RenderStyle* parentStyle = 0);
74 void setParentStyle(PassRefPtr<RenderStyle> parentStyle) { m_parentStyle = parentStyle; }
75 const RenderStyle* parentStyle() const { return m_parentStyle.get(); }
76 RenderStyle* parentStyle() { return m_parentStyle.get(); }
MatchedPropertiesCache.cpp 66 void CachedMatchedProperties::set(const RenderStyle* style, const RenderStyle* parentStyle, const MatchResult& matchResult)
74 this->parentRenderStyle = RenderStyle::clone(parentStyle);
116 void MatchedPropertiesCache::add(const RenderStyle* style, const RenderStyle* parentStyle, unsigned hash, const MatchResult& matchResult)
136 cacheItem->set(style, parentStyle, matchResult);
179 bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle)
184 if (style->unique() || (style->styleType() != NOPSEUDO && parentStyle->unique()))
193 if (parentStyle->hasExplicitlyInheritedProperties())
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);
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()->cursors())
    [all...]
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&);
FontBuilder.cpp 398 void FontBuilder::checkForGenericFamilyChange(RenderStyle* style, const RenderStyle* parentStyle)
402 if (scope.fontDescription().isAbsoluteSize() || !parentStyle)
405 const FontDescription& parentFontDescription = parentStyle->fontDescription();
435 void FontBuilder::updateComputedSize(RenderStyle* style, const RenderStyle* parentStyle)
451 void FontBuilder::createFont(PassRefPtrWillBeRawPtr<FontSelector> fontSelector, const RenderStyle* parentStyle, RenderStyle* style)
456 updateComputedSize(style, parentStyle);
457 checkForGenericFamilyChange(style, parentStyle);
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)
657 StyleResolverState state(document(), &element, parentStyle);
731 RenderStyle* parentStyle = parentRenderer->style();
732 if (RenderStyle* cachedStyle = parentStyle->getCachedPseudoStyle(pseudoId)) {
738 StyleResolverState state(document(), &parent, parentStyle);
739 if (!pseudoStyleForElementInternal(parent, pseudoId, parentStyle, state)
    [all...]
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/
PseudoStyleRequest.h 55 bool allowsInheritance(const RenderStyle* parentStyle) const
57 return parentStyle && pseudoId != BACKDROP;
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGElementRareData.cpp 22 RenderStyle* SVGElementRareData::overrideComputedStyle(Element* element, RenderStyle* parentStyle)
29 m_overrideComputedStyle = element->document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL);
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLOptionElement.cpp 413 RenderStyle* parentStyle = parent->renderStyle() ? parent->renderStyle() : parent->computedStyle();
414 return !parentStyle || parentStyle->display() == NONE;
  /external/chromium_org/third_party/WebKit/Source/core/animation/css/
CSSAnimations.cpp 85 static void resolveKeyframes(StyleResolver* resolver, const Element* animatingElement, Element& element, const RenderStyle& style, RenderStyle* parentStyle, const AtomicString& name, TimingFunction* defaultTimingFunction,
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);
    [all...]
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*);

Completed in 172 milliseconds

1 2