Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineFlowBox.cpp474 void InlineFlowBox::adjustMaxAscentAndDescent(int& maxAscent, int& maxDescent, int maxPositionTop, … in adjustMaxAscentAndDescent() argument
484 if (maxAscent + maxDescent < lineHeight) in adjustMaxAscentAndDescent()
485 maxDescent = lineHeight - maxAscent; in adjustMaxAscentAndDescent()
488 if (maxAscent + maxDescent < lineHeight) in adjustMaxAscentAndDescent()
489 maxAscent = lineHeight - maxDescent; in adjustMaxAscentAndDescent()
492 if (maxAscent + maxDescent >= max(maxPositionTop, maxPositionBottom)) in adjustMaxAscentAndDescent()
497 …toInlineFlowBox(curr)->adjustMaxAscentAndDescent(maxAscent, maxDescent, maxPositionTop, maxPositio… in adjustMaxAscentAndDescent()
502 … int& maxAscent, int& maxDescent, bool& setMaxAscent, bool& setMaxDescent, in computeLogicalBoxHeights() argument
531 if (maxAscent < ascent || !setMaxAscent) { in computeLogicalBoxHeights()
532 maxAscent = ascent; in computeLogicalBoxHeights()
[all …]
DRenderFlexibleBox.cpp43 …outUnit crossAxisOffset, LayoutUnit crossAxisExtent, size_t numberOfChildren, LayoutUnit maxAscent) in LineContext()
47 , maxAscent(maxAscent) in LineContext()
54 LayoutUnit maxAscent; member
1074 LayoutUnit maxAscent = 0, maxDescent = 0; // Used when align-items: baseline. in layoutAndPlaceChildren() local
1104 maxAscent = std::max(maxAscent, ascent); in layoutAndPlaceChildren()
1107 childCrossAxisMarginBoxExtent = maxAscent + maxDescent; in layoutAndPlaceChildren()
1143 …Contexts.append(LineContext(crossAxisOffset, maxChildCrossAxisExtent, children.size(), maxAscent)); in layoutAndPlaceChildren()
1249 LayoutUnit maxAscent = lineContexts[lineNumber].maxAscent; in alignChildren() local
1285 LayoutUnit startOffset = maxAscent - ascent; in alignChildren()
DInlineFlowBox.h186 … int& maxAscent, int& maxDescent, bool& setMaxAscent, bool& setMaxDescent,
188 void adjustMaxAscentAndDescent(int& maxAscent, int& maxDescent,
190 …void placeBoxesInBlockDirection(LayoutUnit logicalTop, LayoutUnit maxHeight, int maxAscent, bool s…
DRootInlineBox.cpp243 int maxAscent = 0; in alignBoxesInBlockDirection() local
253 …computeLogicalBoxHeights(this, maxPositionTop, maxPositionBottom, maxAscent, maxDescent, setMaxAsc… in alignBoxesInBlockDirection()
256 if (maxAscent + maxDescent < max(maxPositionTop, maxPositionBottom)) in alignBoxesInBlockDirection()
257 adjustMaxAscentAndDescent(maxAscent, maxDescent, maxPositionTop, maxPositionBottom); in alignBoxesInBlockDirection()
259 LayoutUnit maxHeight = maxAscent + maxDescent; in alignBoxesInBlockDirection()
267 …placeBoxesInBlockDirection(heightOfBlock, maxHeight, maxAscent, noQuirksMode, lineTop, lineBottom,… in alignBoxesInBlockDirection()
DRenderDeprecatedFlexibleBox.cpp372 LayoutUnit maxAscent = 0, maxDescent = 0; in layoutHorizontalBox() local
399 maxAscent = max(maxAscent, ascent); in layoutHorizontalBox()
405 setHeight(max(yPos + maxAscent + maxDescent, height())); in layoutHorizontalBox()
472 childY += child->marginTop() + (maxAscent - ascent); in layoutHorizontalBox()