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

1 2 3 4

  /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&);
MatchedPropertiesCache.h 44 void set(const RenderStyle*, const RenderStyle* parentStyle, const MatchResult&);
54 void add(const RenderStyle*, const RenderStyle* parentStyle, unsigned hash, const MatchResult&);
59 static bool isCacheable(const Element*, const RenderStyle*, const RenderStyle* parentStyle);
StyleResolverState.cpp 32 StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle)
37 , m_parentStyle(parentStyle)
44 if (!parentStyle && m_elementContext.parentNode())
FontBuilder.h 61 void setFontSizeValue(CSSValue*, RenderStyle* parentStyle, const RenderStyle* rootElementStyle);
82 void createFont(PassRefPtrWillBeRawPtr<FontSelector>, const RenderStyle* parentStyle, RenderStyle*);
109 void checkForGenericFamilyChange(RenderStyle*, const RenderStyle* parentStyle);
110 void updateComputedSize(RenderStyle*, const RenderStyle* parentStyle);
MatchedPropertiesCache.cpp 38 void CachedMatchedProperties::set(const RenderStyle* style, const RenderStyle* parentStyle, const MatchResult& matchResult)
46 this->parentRenderStyle = RenderStyle::clone(parentStyle);
86 void MatchedPropertiesCache::add(const RenderStyle* style, const RenderStyle* parentStyle, unsigned hash, const MatchResult& matchResult)
104 cacheItem->set(style, parentStyle, matchResult);
145 bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle)
150 if (style->unique() || (style->styleType() != NOPSEUDO && parentStyle->unique()))
164 if (parentStyle->hasExplicitlyInheritedProperties())
StyleAdjuster.cpp 161 static bool parentStyleForcesZIndexToCreateStackingContext(const RenderStyle* parentStyle)
163 return isDisplayFlexibleBox(parentStyle->display()) || isDisplayGridBox(parentStyle->display());
197 void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e, const CachedUAStyle* cachedUAStyle)
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)
410 void StyleAdjuster::adjustStyleForDisplay(RenderStyle* style, RenderStyle* parentStyle)
    [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(); }
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();
148 if (!parentStyle->hasClip())
150 state.style()->setClip(parentStyle->clipTop(), parentStyle->clipRight(), parentStyle->clipBottom(), parentStyle->clipLeft())
    [all...]
FontBuilder.cpp 278 void FontBuilder::setFontSizeValue(CSSValue* value, RenderStyle* parentStyle, const RenderStyle* rootElementStyle)
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->setHasViewportUnits(parentHasViewportUnits)
    [all...]
StyleResolver.h 117 PassRefPtr<RenderStyle> styleForElement(Element*, RenderStyle* parentStyle = 0, StyleSharingBehavior = AllowStyleSharing,
120 PassRefPtr<RenderStyle> styleForKeyframe(Element*, const RenderStyle&, RenderStyle* parentStyle, const StyleKeyframe*, const AtomicString& animationName);
124 PassRefPtr<RenderStyle> pseudoStyleForElement(Element*, const PseudoStyleRequest&, RenderStyle* parentStyle);
291 bool pseudoStyleForElementInternal(Element&, const PseudoStyleRequest&, RenderStyle* parentStyle, StyleResolverState&);
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)
706 StyleResolverState state(document(), element, parentStyle);
784 RenderStyle* parentStyle = parentRenderer->style();
785 if (RenderStyle* cachedStyle = parentStyle->getCachedPseudoStyle(pseudoId)) {
791 StyleResolverState state(document(), &parent, parentStyle);
792 if (!pseudoStyleForElementInternal(parent, pseudoId, parentStyle, state)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
PseudoStyleRequest.h 43 bool allowsInheritance(const RenderStyle* parentStyle) const
45 return parentStyle && pseudoId != BACKDROP;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyStylesSet.java 96 final KeyStyle parentStyle = mStyles.get(mParentStyleName);
97 return parentStyle.getStringArray(a, index);
109 final KeyStyle parentStyle = mStyles.get(mParentStyleName);
110 return parentStyle.getString(a, index);
122 final KeyStyle parentStyle = mStyles.get(mParentStyleName);
123 return parentStyle.getInt(a, index, defaultValue);
193 "Unknown parentStyle " + parentStyleName, parser);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ExtractStyleRefactoringTest.java 132 boolean removeExtracted, boolean applyStyle, String parentStyle,
151 parentStyle, expectedModifiedFileCount, file, refactoring);
157 String parentStyle,
178 parentStyle, expectedModifiedFileCount, file, refactoring);
183 boolean removeExtracted, boolean applyStyle, String parentStyle,
190 refactoring.setParent(parentStyle);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGElementRareData.h 76 RenderStyle* overrideComputedStyle(Element* element, RenderStyle* parentStyle)
83 m_overrideComputedStyle = element->document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL);
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
SliderThumbElement.h 89 void updateAppearance(RenderStyle* parentStyle);
SliderThumbElement.cpp 75 void RenderSliderThumb::updateAppearance(RenderStyle* parentStyle)
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/
RenderMultiColumnFlowThread.h 91 static RenderMultiColumnFlowThread* createAnonymous(Document&, RenderStyle* parentStyle);
RenderMultiColumnSet.h 57 static RenderMultiColumnSet* createAnonymous(RenderFlowThread*, RenderStyle* parentStyle);
RenderMultiColumnFlowThread.cpp 46 RenderMultiColumnFlowThread* RenderMultiColumnFlowThread::createAnonymous(Document& document, RenderStyle* parentStyle)
50 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
RenderInline.cpp 223 RenderStyle* parentStyle = parent()->style();
227 || (parentRenderInline && parentStyle->verticalAlign() != BASELINE)
230 || (checkFonts && (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(style()->font().fontMetrics())
231 || parentStyle->lineHeight() != style()->lineHeight()));
235 parentStyle = parent()->style(true);
237 alwaysCreateLineBoxes = !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
239 || parentStyle->lineHeight() != childStyle->lineHeight();
    [all...]
RenderMultiColumnSet.cpp 46 RenderMultiColumnSet* RenderMultiColumnSet::createAnonymous(RenderFlowThread* flowThread, RenderStyle* parentStyle)
51 renderer->setStyle(RenderStyle::createAnonymousStyleWithDisplay(parentStyle, BLOCK));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationChooser.java     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/css/
CSSAnimations.cpp 86 static void resolveKeyframes(StyleResolver* resolver, Element* element, const Element& parentElement, const RenderStyle& style, RenderStyle* parentStyle, const AtomicString& name, TimingFunction* defaultTimingFunction,
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);
    [all...]
CSSAnimations.h 178 static PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> calculateUpdate(Element*, const Element& parentElement, const RenderStyle&, RenderStyle* parentStyle, StyleResolver*);
213 static void calculateAnimationUpdate(CSSAnimationUpdate*, Element*, const Element& parentElement, const RenderStyle&, RenderStyle* parentStyle, StyleResolver*);

Completed in 403 milliseconds

1 2 3 4