Searched refs:childStyle (Results 1 – 11 of 11) sorted by relevance
63 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()
123 RenderStyle* childStyle = child->renderer().style(isFirstLineStyle()); in addToLine() local129 …!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 …]
58 …virtual void updateAnonymousChildStyle(const RenderObject* child, RenderStyle* childStyle) const O…
1151 RenderStyle* childStyle = child->style(); in getBorderPaddingMargin() local1153 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() local1286 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()
251 RenderStyle* childStyle = style(true); in updateAlwaysCreateLineBoxes() local252 …!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetr… in updateAlwaysCreateLineBoxes()253 || childStyle->verticalAlign() != BASELINE in updateAlwaysCreateLineBoxes()254 || parentStyle->lineHeight() != childStyle->lineHeight(); in updateAlwaysCreateLineBoxes()
1174 …ic ItemPosition resolveJustification(const RenderStyle* parentStyle, const RenderStyle* childStyle) in resolveJustification() argument1176 ItemPosition justify = childStyle->justifySelf(); in resolveJustification()1295 static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) in resolveAlignment() argument1297 ItemPosition align = childStyle->alignSelf(); in resolveAlignment()
1694 const RenderStyle* childStyle = child->style(); in mustSeparateMarginBeforeForChild() local1696 return childStyle->marginBeforeCollapse() == MSEPARATE; in mustSeparateMarginBeforeForChild()1698 return childStyle->marginAfterCollapse() == MSEPARATE; in mustSeparateMarginBeforeForChild()1707 const RenderStyle* childStyle = child->style(); in mustSeparateMarginAfterForChild() local1709 return childStyle->marginAfterCollapse() == MSEPARATE; in mustSeparateMarginAfterForChild()1711 return childStyle->marginBeforeCollapse() == MSEPARATE; in mustSeparateMarginAfterForChild()
3256 RefPtr<RenderStyle> childStyle = child->style(); in computeBlockPreferredLogicalWidths() local3259 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()
196 static ItemPosition resolveAlignment(const RenderStyle* parentStyle, const RenderStyle* childStyle) in resolveAlignment() argument198 ItemPosition align = childStyle->alignSelf(); in resolveAlignment()
1150 RenderStyle* childStyle = childBox->style(); in isCandidateForOpaquenessTest() local1151 … 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()
592 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne() local594 if (result && childStyle) in checkOne()595 childStyle->setFirstChildState(); in checkOne()614 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne() local616 if (result && childStyle) in checkOne()617 childStyle->setLastChildState(); in checkOne()637 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne() local640 if (firstChild && childStyle) in checkOne()641 childStyle->setFirstChildState(); in checkOne()642 if (onlyChild && childStyle) in checkOne()[all …]