Home | History | Annotate | Download | only in rendering

Lines Matching refs:maxAscent

451 void InlineFlowBox::adjustMaxAscentAndDescent(int& maxAscent, int& maxDescent, int maxPositionTop, int maxPositionBottom)
461 if (maxAscent + maxDescent < lineHeight)
462 maxDescent = lineHeight - maxAscent;
465 if (maxAscent + maxDescent < lineHeight)
466 maxAscent = lineHeight - maxDescent;
469 if (maxAscent + maxDescent >= max(maxPositionTop, maxPositionBottom))
474 static_cast<InlineFlowBox*>(curr)->adjustMaxAscentAndDescent(maxAscent, maxDescent, maxPositionTop, maxPositionBottom);
479 int& maxAscent, int& maxDescent, bool& setMaxAscent, bool& setMaxDescent,
487 // The maxAscent value represents the distance of the highest point of any box (typically including line-height) from
496 // root line box, we only consider it to affect the maxAscent and maxDescent values if some
508 if (maxAscent < ascent || !setMaxAscent) {
509 maxAscent = ascent;
549 // Note that these values can be negative. Even though we only affect the maxAscent and maxDescent values
553 // setMaxDescent booleans are used to ensure that we're willing to initially set maxAscent/Descent to negative
557 if (affectsAscent && (maxAscent < ascent || !setMaxAscent)) {
558 maxAscent = ascent;
569 inlineFlowBox->computeLogicalBoxHeights(rootBox, maxPositionTop, maxPositionBottom, maxAscent, maxDescent,
575 void InlineFlowBox::placeBoxesInBlockDirection(int top, int maxHeight, int maxAscent, bool strictMode, int& lineTop, int& lineBottom, bool& setLineTop,
581 setLogicalTop(top + maxAscent - fontMetrics.ascent(baselineType));
610 int posAdjust = maxAscent - curr->baselinePosition(baselineType);
683 inlineFlowBox->placeBoxesInBlockDirection(top, maxHeight, maxAscent, strictMode, lineTop, lineBottom, setLineTop,