Home | History | Annotate | Download | only in rendering

Lines Matching refs:maxDescent

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,
488 // the root box's baseline. The maxDescent value represents the distance of the lowest point of any box
496 // root line box, we only consider it to affect the maxAscent and maxDescent values if some
512 if (maxDescent < descent || !setMaxDescent) {
513 maxDescent = descent;
549 // Note that these values can be negative. Even though we only affect the maxAscent and maxDescent values
562 if (affectsDescent && (maxDescent < descent || !setMaxDescent)) {
563 maxDescent = descent;
569 inlineFlowBox->computeLogicalBoxHeights(rootBox, maxPositionTop, maxPositionBottom, maxAscent, maxDescent,