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

1 2

  /external/chromium_org/third_party/WebKit/Source/core/css/
PseudoStyleRequest.h 43 bool allowsInheritance(const RenderStyle* parentStyle) const
45 return parentStyle && pseudoId != BACKDROP;
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleResolverState.cpp 32 StyleResolverState::StyleResolverState(Document* document, Element* element, RenderStyle* parentStyle, RenderRegion* regionForStyling)
51 else if (parentStyle)
52 m_parentStyle = parentStyle;
MatchedPropertiesCache.h 51 void add(const RenderStyle*, const RenderStyle* parentStyle, unsigned hash, const MatchResult&);
55 static bool isCacheable(const Element*, const RenderStyle*, const RenderStyle* parentStyle);
FontBuilder.h 61 void setFontSizeValue(CSSValue*, RenderStyle* parentStyle, const RenderStyle* rootElementStyle, float effectiveZoom);
82 void createFont(PassRefPtr<FontSelector>, const RenderStyle* parentStyle, RenderStyle*);
99 void checkForGenericFamilyChange(RenderStyle*, const RenderStyle* parentStyle);
100 void checkForZoomChange(RenderStyle*, const RenderStyle* parentStyle);
StyleAdjuster.h 41 void adjustRenderStyle(RenderStyle* styleToAdjust, RenderStyle* parentStyle, Element*);
MatchedPropertiesCache.cpp 67 void MatchedPropertiesCache::add(const RenderStyle* style, const RenderStyle* parentStyle, unsigned hash, const MatchResult& matchResult)
83 cacheItem.parentRenderStyle = RenderStyle::clone(parentStyle);
115 bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle)
120 if (style->unique() || (style->styleType() != NOPSEUDO && parentStyle->unique()))
129 if (parentStyle->hasExplicitlyInheritedProperties())
StyleResolverState.h 45 StyleResolverState(Document*, Element*, RenderStyle* parentStyle = 0, RenderRegion* regionForStyling = 0);
65 void setParentStyle(PassRefPtr<RenderStyle> parentStyle) { m_parentStyle = parentStyle; }
66 const RenderStyle* parentStyle() const { return m_parentStyle.get(); }
67 RenderStyle* parentStyle() { return m_parentStyle.get(); }
StyleAdjuster.cpp 163 void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e)
165 ASSERT(parentStyle);
231 if (style->display() == INLINE && style->styleType() == NOPSEUDO && style->writingMode() != parentStyle->writingMode())
247 style->setWritingMode(parentStyle->writingMode());
255 if (isDisplayFlexibleBox(parentStyle->display()) || isDisplayGridBox(parentStyle->display())) {
262 if (style->position() == StaticPosition && !isDisplayFlexibleBox(parentStyle->display()))
366 adjustGridItemPosition(style, parentStyle);
391 void StyleAdjuster::adjustGridItemPosition(RenderStyle* style, RenderStyle* parentStyle) const
410 const NamedGridAreaMap& map = parentStyle->namedGridArea()
    [all...]
FontBuilder.cpp 287 void FontBuilder::setFontSizeValue(CSSValue* value, RenderStyle* parentStyle, const RenderStyle* rootElementStyle, float effectiveZoom)
301 // FIXME: Find out when parentStyle could be 0?
302 if (parentStyle) {
303 parentSize = parentStyle->fontDescription().specifiedSize();
304 parentIsAbsoluteSize = parentStyle->fontDescription().isAbsoluteSize();
334 size = primitiveValue->computeLength<float>(parentStyle, rootElementStyle, 1.0, true);
338 size = primitiveValue->cssCalcValue()->toCalcValue(parentStyle, rootElementStyle)->evaluate(parentSize);
587 void FontBuilder::checkForGenericFamilyChange(RenderStyle* style, const RenderStyle* parentStyle)
591 if (scope.fontDescription().isAbsoluteSize() || !parentStyle)
594 const FontDescription& parentFontDescription = parentStyle->fontDescription()
    [all...]
StyleBuilderCustom.cpp 104 RenderStyle* parentStyle = state.parentStyle();
105 if (!parentStyle->hasClip())
107 state.style()->setClip(parentStyle->clipTop(), parentStyle->clipRight(), parentStyle->clipBottom(), parentStyle->clipLeft());
139 state.style()->setCursor(state.parentStyle()->cursor());
140 state.style()->setCursorList(state.parentStyle()->cursors());
187 EDisplay display = state.parentStyle()->display()
    [all...]
StyleResolver.cpp 609 if (sharingBehavior == AllowStyleSharing && !state.distributedToInsertionPoint() && state.parentStyle()) {
616 if (state.parentStyle()) {
618 state.style()->inheritFrom(state.parentStyle(), isAtShadowBoundary(element) ? RenderStyle::AtShadowBoundary : RenderStyle::NotAtShadowBoundary);
667 adjuster.adjustRenderStyle(state.style(), state.parentStyle(), element);
    [all...]
SharedStyleFinder.cpp 86 RenderStyle* parentStyle = parent->renderStyle();
97 if (!currentNode->hasScopedHTMLStyleChild() && currentNode->renderStyle() == parentStyle && currentNode->lastChild()
StyleResolver.h 187 PassRefPtr<RenderStyle> styleForElement(Element*, RenderStyle* parentStyle = 0, StyleSharingBehavior = AllowStyleSharing,
200 PassRefPtr<RenderStyle> pseudoStyleForElement(Element*, const PseudoStyleRequest&, RenderStyle* parentStyle);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGElementRareData.h 90 RenderStyle* overrideComputedStyle(Element* element, RenderStyle* parentStyle)
97 m_overrideComputedStyle = element->document()->styleResolver()->styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyStylesSet.java 95 final KeyStyle parentStyle = mStyles.get(mParentStyleName);
96 return parentStyle.getStringArray(a, index);
108 final KeyStyle parentStyle = mStyles.get(mParentStyleName);
109 return parentStyle.getString(a, index);
121 final KeyStyle parentStyle = mStyles.get(mParentStyleName);
122 return parentStyle.getInt(a, index, defaultValue);
196 "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/html/shadow/
SliderThumbElement.h 108 void updateAppearance(RenderStyle* parentStyle);
SliderThumbElement.cpp 99 void RenderSliderThumb::updateAppearance(RenderStyle* parentStyle)
101 if (parentStyle->appearance() == SliderVerticalPart)
103 else if (parentStyle->appearance() == SliderHorizontalPart)
105 else if (parentStyle->appearance() == MediaSliderPart)
107 else if (parentStyle->appearance() == MediaVolumeSliderPart)
109 else if (parentStyle->appearance() == MediaFullScreenVolumeSliderPart)
  /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/rendering/
RenderFlowThread.h 96 static PassRefPtr<RenderStyle> createFlowThreadStyle(RenderStyle* parentStyle);
RenderInline.cpp 208 RenderStyle* parentStyle = parent()->style();
213 || (parentRenderInline && parentStyle->verticalAlign() != BASELINE)
216 || (checkFonts && (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(style()->font().fontMetrics())
217 || parentStyle->lineHeight() != style()->lineHeight()))
222 parentStyle = parent()->style(true);
224 alwaysCreateLineBoxes = !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
226 || parentStyle->lineHeight() != childStyle->lineHeight();
    [all...]
RenderFlexibleBox.cpp 93 static LayoutUnit marginLogicalWidthForChild(RenderBox* child, RenderStyle* parentStyle)
98 Length marginLeft = child->style()->marginStartUsing(parentStyle);
99 Length marginRight = child->style()->marginEndUsing(parentStyle);
213 static EAlignItems resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle)
217 align = parentStyle->alignItems();
    [all...]
RenderObject.cpp     [all...]
InlineFlowBox.cpp 121 RenderStyle* parentStyle = renderer()->style(isFirstLineStyle());
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
    [all...]
RenderBox.cpp     [all...]

Completed in 869 milliseconds

1 2