Home
last modified time | relevance | path

Searched refs:pseudoStyle (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DContentData.cpp69 RenderObject* ImageContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const in createRenderer()
72 image->setPseudoStyle(pseudoStyle); in createRenderer()
80 RenderObject* TextContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const in createRenderer()
83 renderer->setPseudoStyle(pseudoStyle); in createRenderer()
87 RenderObject* CounterContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const in createRenderer()
90 renderer->setPseudoStyle(pseudoStyle); in createRenderer()
94 RenderObject* QuoteContentData::createRenderer(Document& doc, RenderStyle* pseudoStyle) const in createRenderer()
97 renderer->setPseudoStyle(pseudoStyle); in createRenderer()
DRenderStyle.cpp269 RenderStyle* pseudoStyle = m_cachedPseudoStyles->at(i).get(); in hasUniquePseudoStyle() local
270 if (pseudoStyle->unique()) in hasUniquePseudoStyle()
286 RenderStyle* pseudoStyle = m_cachedPseudoStyles->at(i).get(); in getCachedPseudoStyle() local
287 if (pseudoStyle->styleType() == pid) in getCachedPseudoStyle()
288 return pseudoStyle; in getCachedPseudoStyle()
316 RenderStyle* pseudoStyle = m_cachedPseudoStyles->at(i).get(); in removeCachedPseudoStyle() local
317 if (pseudoStyle->styleType() == pid) { in removeCachedPseudoStyle()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DTextPainter.cpp160 if (RenderStyle* pseudoStyle = renderer.getCachedPseudoStyle(SELECTION)) { in selectionPaintingStyle() local
161 …le.strokeColor = forceBlackText ? Color::black : renderer.resolveColor(pseudoStyle, CSSPropertyWeb… in selectionPaintingStyle()
162 selectionStyle.strokeWidth = pseudoStyle->textStrokeWidth(); in selectionPaintingStyle()
163 selectionStyle.shadow = forceBlackText ? 0 : pseudoStyle->textShadow(); in selectionPaintingStyle()
DRenderBlock.cpp3539 …RenderStyle* pseudoStyle = firstLetterBlock->getCachedPseudoStyle(FIRST_LETTER, firstLetterContain… in styleForFirstLetter() local
3541 pseudoStyle->setDisplay(pseudoStyle->isFloating() ? BLOCK : INLINE); in styleForFirstLetter()
3543 pseudoStyle->setPosition(StaticPosition); in styleForFirstLetter()
3544 return pseudoStyle; in styleForFirstLetter()
3593 RenderStyle* pseudoStyle = styleForFirstLetter(firstLetterBlock, firstLetterContainer); in updateFirstLetterStyle() local
3596 if (RenderStyle::stylePropagationDiff(firstLetter->style(), pseudoStyle) == Reattach) { in updateFirstLetterStyle()
3599 if (pseudoStyle->display() == INLINE) in updateFirstLetterStyle()
3603 newFirstLetter->setStyle(pseudoStyle); in updateFirstLetterStyle()
3627 firstLetter->setStyle(pseudoStyle); in updateFirstLetterStyle()
3631 genChild->setStyle(pseudoStyle); in updateFirstLetterStyle()
[all …]
DRenderObject.cpp1540 if (RefPtr<RenderStyle> pseudoStyle = getUncachedPseudoStyleFromParentOrShadowHost()) in selectionBackgroundColor() local
1541 return resolveColor(pseudoStyle.get(), CSSPropertyBackgroundColor).blendWithWhite(); in selectionBackgroundColor()
1554 if (RefPtr<RenderStyle> pseudoStyle = getUncachedPseudoStyleFromParentOrShadowHost()) in selectionColor() local
1555 return resolveColor(pseudoStyle.get(), colorProperty); in selectionColor()
1646 void RenderObject::setPseudoStyle(PassRefPtr<RenderStyle> pseudoStyle) in setPseudoStyle() argument
1648 ASSERT(pseudoStyle->styleType() == BEFORE || pseudoStyle->styleType() == AFTER); in setPseudoStyle()
1661 style->inheritFrom(pseudoStyle.get()); in setPseudoStyle()
1666 setStyle(pseudoStyle); in setPseudoStyle()