Home
last modified time | relevance | path

Searched refs:childStyle (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderButton.cpp63 void RenderButton::updateAnonymousChildStyle(const RenderObject* child, RenderStyle* childStyle) co… in updateAnonymousChildStyle()
67 childStyle->setFlexGrow(1.0f); in updateAnonymousChildStyle()
70 childStyle->setMarginTop(Length()); in updateAnonymousChildStyle()
71 childStyle->setMarginBottom(Length()); in updateAnonymousChildStyle()
72 childStyle->setFlexDirection(style()->flexDirection()); in updateAnonymousChildStyle()
73 childStyle->setJustifyContent(style()->justifyContent()); in updateAnonymousChildStyle()
74 childStyle->setFlexWrap(style()->flexWrap()); in updateAnonymousChildStyle()
75 childStyle->setAlignItems(style()->alignItems()); in updateAnonymousChildStyle()
76 childStyle->setAlignContent(style()->alignContent()); in updateAnonymousChildStyle()
DInlineFlowBox.cpp123 RenderStyle* childStyle = child->renderer().style(isFirstLineStyle()); in addToLine() local
129 …!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetr… in addToLine()
130 || parentStyle->lineHeight() != childStyle->lineHeight() in addToLine()
131 …|| (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign()… in addToLine()
134 … if (childStyle->hasTextCombine() || childStyle->textEmphasisMark() != TextEmphasisMarkNone) in addToLine()
146 …!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetr… in addToLine()
147 || parentStyle->lineHeight() != childStyle->lineHeight() in addToLine()
148 …|| (parentStyle->verticalAlign() != BASELINE && !isRootInlineBox()) || childStyle->verticalAlign()… in addToLine()
149 … || childStyle->hasBorder() || childStyle->hasPadding() || childStyle->hasTextCombine()) in addToLine()
160 RenderStyle* childStyle = child->renderer().style(isFirstLineStyle()); in addToLine() local
[all …]
DRenderButton.h58 …virtual void updateAnonymousChildStyle(const RenderObject* child, RenderStyle* childStyle) const O…
DRenderBlockLineLayout.cpp1151 RenderStyle* childStyle = child->style(); in getBorderPaddingMargin() local
1153 return getBPMWidth(child->marginEnd(), childStyle->marginEnd()) + in getBorderPaddingMargin()
1154 getBPMWidth(child->paddingEnd(), childStyle->paddingEnd()) + in getBorderPaddingMargin()
1157 return getBPMWidth(child->marginStart(), childStyle->marginStart()) + in getBorderPaddingMargin()
1158 getBPMWidth(child->paddingStart(), childStyle->paddingStart()) + in getBorderPaddingMargin()
1266 RenderStyle* childStyle = child->style(); in computeInlinePreferredLogicalWidths() local
1286 Length startMargin = childStyle->marginStart(); in computeInlinePreferredLogicalWidths()
1287 Length endMargin = childStyle->marginEnd(); in computeInlinePreferredLogicalWidths()
1317 … && ((prevFloat->style()->floating() == LeftFloat && (childStyle->clear() & CLEFT)) in computeInlinePreferredLogicalWidths()
1318 … || (prevFloat->style()->floating() == RightFloat && (childStyle->clear() & CRIGHT)))); in computeInlinePreferredLogicalWidths()
DRenderInline.cpp251 RenderStyle* childStyle = style(true); in updateAlwaysCreateLineBoxes() local
252 …!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetr… in updateAlwaysCreateLineBoxes()
253 || childStyle->verticalAlign() != BASELINE in updateAlwaysCreateLineBoxes()
254 || parentStyle->lineHeight() != childStyle->lineHeight(); in updateAlwaysCreateLineBoxes()
DRenderGrid.cpp1174 …ic ItemPosition resolveJustification(const RenderStyle* parentStyle, const RenderStyle* childStyle) in resolveJustification() argument
1176 ItemPosition justify = childStyle->justifySelf(); in resolveJustification()
1295 static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) in resolveAlignment() argument
1297 ItemPosition align = childStyle->alignSelf(); in resolveAlignment()
DRenderBlockFlow.cpp1694 const RenderStyle* childStyle = child->style(); in mustSeparateMarginBeforeForChild() local
1696 return childStyle->marginBeforeCollapse() == MSEPARATE; in mustSeparateMarginBeforeForChild()
1698 return childStyle->marginAfterCollapse() == MSEPARATE; in mustSeparateMarginBeforeForChild()
1707 const RenderStyle* childStyle = child->style(); in mustSeparateMarginAfterForChild() local
1709 return childStyle->marginAfterCollapse() == MSEPARATE; in mustSeparateMarginAfterForChild()
1711 return childStyle->marginBeforeCollapse() == MSEPARATE; in mustSeparateMarginAfterForChild()
DRenderBlock.cpp3256 RefPtr<RenderStyle> childStyle = child->style(); in computeBlockPreferredLogicalWidths() local
3259 if (childStyle->clear() & CLEFT) { in computeBlockPreferredLogicalWidths()
3263 if (childStyle->clear() & CRIGHT) { in computeBlockPreferredLogicalWidths()
3272 Length startMarginLength = childStyle->marginStartUsing(styleToUse); in computeBlockPreferredLogicalWidths()
3273 Length endMarginLength = childStyle->marginEndUsing(styleToUse); in computeBlockPreferredLogicalWidths()
3322 if (childStyle->floating() == LeftFloat) in computeBlockPreferredLogicalWidths()
DRenderFlexibleBox.cpp196 static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) in resolveAlignment() argument
198 ItemPosition align = childStyle->alignSelf(); in resolveAlignment()
DRenderBox.cpp1150 RenderStyle* childStyle = childBox->style(); in isCandidateForOpaquenessTest() local
1151 … if (childStyle->position() != StaticPosition && childBox->containingBlock() != childBox->parent()) in isCandidateForOpaquenessTest()
1153 if (childStyle->visibility() != VISIBLE || childStyle->shapeOutside()) in isCandidateForOpaquenessTest()
1162 if (!childStyle->hasAutoZIndex()) in isCandidateForOpaquenessTest()
1166 if (childBox->hasOverflowClip() && childStyle->hasBorderRadius()) in isCandidateForOpaquenessTest()
/external/chromium_org/third_party/WebKit/Source/core/css/
DSelectorChecker.cpp592 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne() local
594 if (result && childStyle) in checkOne()
595 childStyle->setFirstChildState(); in checkOne()
614 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne() local
616 if (result && childStyle) in checkOne()
617 childStyle->setLastChildState(); in checkOne()
637 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne() local
640 if (firstChild && childStyle) in checkOne()
641 childStyle->setFirstChildState(); in checkOne()
642 if (onlyChild && childStyle) in checkOne()
[all …]