Lines Matching defs:lineBox
428 void RenderBlock::computeInlineDirectionPositionsForLine(RootInlineBox* lineBox, bool firstLine, BidiRun* firstRun, BidiRun* trailingSpaceRun, bool reachedEnd,
431 ETextAlign textAlign = textAlignmentForLine(!reachedEnd && !lineBox->endsWithBreak());
436 float totalLogicalWidth = lineBox->getFlowSpacingLogicalWidth();
467 if (lineBox->fitsToGlyphs()) {
470 bool includeRootLine = lineBox->includesRootLineBoxFontOrLeading();
471 int baselineShift = lineBox->verticalPositionForBox(r->m_box, verticalPositionCache);
472 int rootDescent = includeRootLine ? lineBox->renderer()->style(firstLine)->font().fontMetrics().descent() : 0;
473 int rootAscent = includeRootLine ? lineBox->renderer()->style(firstLine)->font().fontMetrics().ascent() : 0;
607 lineBox->placeBoxesInInlineDirection(logicalLeft, needsWordSpacing, textBoxDataMap);
610 void RenderBlock::computeBlockDirectionPositionsForLine(RootInlineBox* lineBox, BidiRun* firstRun, GlyphOverflowAndFallbackFontsMap& textBoxDataMap,
613 setLogicalHeight(lineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap, verticalPositionCache));
614 lineBox->setBlockLogicalHeight(logicalHeight());
636 lineBox->markDirty(false);
1028 RootInlineBox* lineBox = 0;
1033 lineBox = constructLine(bidiRuns, firstLine, !end.m_obj);
1034 if (lineBox) {
1035 lineBox->setEndsWithBreak(previousLineBrokeCleanly);
1038 bool isSVGRootInlineBox = lineBox->isSVGRootInlineBox();
1047 computeInlineDirectionPositionsForLine(lineBox, firstLine, bidiRuns.firstRun(), trailingSpaceRun, end.atEnd(), textBoxDataMap, verticalPositionCache);
1050 computeBlockDirectionPositionsForLine(lineBox, bidiRuns.firstRun(), textBoxDataMap, verticalPositionCache);
1060 static_cast<SVGRootInlineBox*>(lineBox)->computePerCharacterLayoutInformation();
1065 lineBox->computeOverflow(lineBox->lineTop(), lineBox->lineBottom(), textBoxDataMap);
1070 lineBox->addHighlightOverflow();
1078 if (lineBox) {
1079 lineBox->setLineBreakInfo(end.m_obj, end.m_pos, resolver.status());
1081 repaintLogicalTop = min(repaintLogicalTop, lineBox->logicalTopVisualOverflow());
1082 repaintLogicalBottom = max(repaintLogicalBottom, lineBox->logicalBottomVisualOverflow());
1087 adjustLinePositionForPagination(lineBox, adjustment);
1090 lineBox->adjustBlockDirectionPosition(adjustment);
1092 repaintLogicalBottom = max(repaintLogicalBottom, lineBox->logicalBottomVisualOverflow());
1096 lineBox->deleteLine(renderArena());
1104 setLogicalHeight(lineBox->blockLogicalHeight());