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.cpp486 void InlineFlowBox::adjustMaxAscentAndDescent(int& maxAscent, int& maxDescent, int maxPositionTop, … in adjustMaxAscentAndDescent() argument
496 if (maxAscent + maxDescent < lineHeight) in adjustMaxAscentAndDescent()
497 maxDescent = lineHeight - maxAscent; in adjustMaxAscentAndDescent()
500 if (maxAscent + maxDescent < lineHeight) in adjustMaxAscentAndDescent()
501 maxAscent = lineHeight - maxDescent; in adjustMaxAscentAndDescent()
504 if (maxAscent + maxDescent >= std::max(maxPositionTop, maxPositionBottom)) in adjustMaxAscentAndDescent()
509 …toInlineFlowBox(curr)->adjustMaxAscentAndDescent(maxAscent, maxDescent, maxPositionTop, maxPositio… in adjustMaxAscentAndDescent()
514 … int& maxAscent, int& maxDescent, bool& setMaxAscent, bool& setMaxDescent, in computeLogicalBoxHeights() argument
543 if (maxAscent < ascent || !setMaxAscent) { in computeLogicalBoxHeights()
544 maxAscent = ascent; in computeLogicalBoxHeights()
[all …]
DRenderFlexibleBox.cpp46 …outUnit crossAxisOffset, LayoutUnit crossAxisExtent, size_t numberOfChildren, LayoutUnit maxAscent) in LineContext()
50 , maxAscent(maxAscent) in LineContext()
57 LayoutUnit maxAscent; member
1078 LayoutUnit maxAscent = 0, maxDescent = 0; // Used when align-items: baseline. in layoutAndPlaceChildren() local
1113 maxAscent = std::max(maxAscent, ascent); in layoutAndPlaceChildren()
1116 childCrossAxisMarginBoxExtent = maxAscent + maxDescent; in layoutAndPlaceChildren()
1153 …Contexts.append(LineContext(crossAxisOffset, maxChildCrossAxisExtent, children.size(), maxAscent)); in layoutAndPlaceChildren()
1270 LayoutUnit maxAscent = lineContexts[lineNumber].maxAscent; in alignChildren() local
1306 LayoutUnit startOffset = maxAscent - ascent; in alignChildren()
DInlineFlowBox.h188 … int& maxAscent, int& maxDescent, bool& setMaxAscent, bool& setMaxDescent,
190 void adjustMaxAscentAndDescent(int& maxAscent, int& maxDescent,
192 …void placeBoxesInBlockDirection(LayoutUnit logicalTop, LayoutUnit maxHeight, int maxAscent, bool s…
DRootInlineBox.cpp210 int maxAscent = 0; in alignBoxesInBlockDirection() local
220 …computeLogicalBoxHeights(this, maxPositionTop, maxPositionBottom, maxAscent, maxDescent, setMaxAsc… in alignBoxesInBlockDirection()
223 if (maxAscent + maxDescent < std::max(maxPositionTop, maxPositionBottom)) in alignBoxesInBlockDirection()
224 adjustMaxAscentAndDescent(maxAscent, maxDescent, maxPositionTop, maxPositionBottom); in alignBoxesInBlockDirection()
226 LayoutUnit maxHeight = maxAscent + maxDescent; in alignBoxesInBlockDirection()
235 …placeBoxesInBlockDirection(heightOfBlock, maxHeight, maxAscent, noQuirksMode, lineTop, lineBottom,… in alignBoxesInBlockDirection()
DRenderDeprecatedFlexibleBox.cpp356 LayoutUnit maxAscent = 0, maxDescent = 0; in layoutHorizontalBox() local
383 maxAscent = std::max(maxAscent, ascent); in layoutHorizontalBox()
389 setHeight(std::max(yPos + maxAscent + maxDescent, height())); in layoutHorizontalBox()
456 childY += child->marginTop() + (maxAscent - ascent); in layoutHorizontalBox()