Changeset 269149 in webkit
- Timestamp:
- Oct 29, 2020, 8:51:07 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 12 edited
-
ChangeLog (modified) (1 diff)
-
layout/integration/LayoutIntegrationLineIterator.h (modified) (2 diffs)
-
layout/integration/LayoutIntegrationLineIteratorLegacyPath.h (modified) (1 diff)
-
layout/integration/LayoutIntegrationLineIteratorModernPath.h (modified) (1 diff)
-
rendering/ComplexLineLayout.cpp (modified) (10 diffs)
-
rendering/RenderBlockFlow.cpp (modified) (6 diffs)
-
rendering/RenderBox.cpp (modified) (1 diff)
-
rendering/RenderLayoutState.cpp (modified) (2 diffs)
-
rendering/RenderLineBreak.cpp (modified) (1 diff)
-
rendering/RenderText.cpp (modified) (1 diff)
-
rendering/RootInlineBox.cpp (modified) (7 diffs)
-
rendering/RootInlineBox.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r269146 r269149 1 2020-10-29 Antti Koivisto <antti@apple.com> 2 3 [LFC][Integration] Rename top/bottomWithLeading to lineBoxTop/Bottom 4 https://bugs.webkit.org/show_bug.cgi?id=218340 5 6 Reviewed by Zalan Bujtas. 7 8 These match the spec concept of line box. 9 For clarity rename the legacy fields and functions in RootInlineBox too. 10 11 * layout/integration/LayoutIntegrationLineIterator.h: 12 (WebCore::LayoutIntegration::PathLine::lineBoxTop const): 13 (WebCore::LayoutIntegration::PathLine::lineBoxBottom const): 14 (WebCore::LayoutIntegration::PathLine::topWithLeading const): Deleted. 15 (WebCore::LayoutIntegration::PathLine::bottomWithLeading const): Deleted. 16 * layout/integration/LayoutIntegrationLineIteratorLegacyPath.h: 17 (WebCore::LayoutIntegration::LineIteratorLegacyPath::lineBoxTop const): 18 (WebCore::LayoutIntegration::LineIteratorLegacyPath::lineBoxBottom const): 19 (WebCore::LayoutIntegration::LineIteratorLegacyPath::topWithLeading const): Deleted. 20 (WebCore::LayoutIntegration::LineIteratorLegacyPath::bottomWithLeading const): Deleted. 21 * layout/integration/LayoutIntegrationLineIteratorModernPath.h: 22 (WebCore::LayoutIntegration::LineIteratorModernPath::lineBoxTop const): 23 (WebCore::LayoutIntegration::LineIteratorModernPath::lineBoxBottom const): 24 (WebCore::LayoutIntegration::LineIteratorModernPath::topWithLeading const): Deleted. 25 (WebCore::LayoutIntegration::LineIteratorModernPath::bottomWithLeading const): Deleted. 26 * rendering/ComplexLineLayout.cpp: 27 (WebCore::ComplexLineLayout::layoutRunsAndFloatsInRange): 28 (WebCore::ComplexLineLayout::linkToEndLineIfNeeded): 29 (WebCore::ComplexLineLayout::checkFloatInCleanLine): 30 (WebCore::ComplexLineLayout::determineStartPosition): 31 (WebCore::ComplexLineLayout::determineEndPosition): 32 (WebCore::ComplexLineLayout::checkPaginationAndFloatsAtEndLine): 33 (WebCore::ComplexLineLayout::lineWidthForPaginatedLineChanged const): 34 (WebCore::ComplexLineLayout::matchedEndLine): 35 (WebCore::ComplexLineLayout::updateFragmentForLine const): 36 * rendering/RenderBlockFlow.cpp: 37 (WebCore::calculateMinimumPageHeight): 38 (WebCore::RenderBlockFlow::adjustLinePositionForPagination): 39 (WebCore::RenderBlockFlow::markLinesDirtyInBlockRange): 40 (WebCore::RenderBlockFlow::positionForPointWithInlineChildren): 41 * rendering/RenderBox.cpp: 42 (WebCore::RenderBox::positionLineBox): 43 * rendering/RenderLayoutState.cpp: 44 (WebCore::RenderLayoutState::computeLineGridPaginationOrigin): 45 * rendering/RenderLineBreak.cpp: 46 (WebCore::RenderLineBreak::collectSelectionRects): 47 * rendering/RenderText.cpp: 48 (WebCore::RenderText::collectSelectionRects): 49 * rendering/RootInlineBox.cpp: 50 (WebCore::RootInlineBox::adjustPosition): 51 (WebCore::RootInlineBox::alignBoxesInBlockDirection): 52 (WebCore::RootInlineBox::lineSnapAdjustment const): 53 (WebCore::RootInlineBox::outputLineBox const): 54 * rendering/RootInlineBox.h: 55 (WebCore::RootInlineBox::lineBoxTop const): 56 (WebCore::RootInlineBox::lineBoxBottom const): 57 (WebCore::RootInlineBox::setLineTopBottomPositions): 58 (WebCore::RootInlineBox::lineTopWithLeading const): Deleted. 59 (WebCore::RootInlineBox::lineBottomWithLeading const): Deleted. 60 1 61 2020-10-29 Antti Koivisto <antti@apple.com> 2 62 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationLineIterator.h
r269146 r269149 56 56 LayoutUnit selectionTopForHitTesting() const; 57 57 LayoutUnit selectionBottom() const; 58 LayoutUnit topWithLeading() const;59 LayoutUnit bottomWithLeading() const;58 LayoutUnit lineBoxTop() const; 59 LayoutUnit lineBoxBottom() const; 60 60 61 61 float y() const; … … 157 157 } 158 158 159 inline LayoutUnit PathLine:: topWithLeading() const160 { 161 return WTF::switchOn(m_pathVariant, [](const auto& path) { 162 return path. topWithLeading();163 }); 164 } 165 166 inline LayoutUnit PathLine:: bottomWithLeading() const167 { 168 return WTF::switchOn(m_pathVariant, [](const auto& path) { 169 return path. bottomWithLeading();159 inline LayoutUnit PathLine::lineBoxTop() const 160 { 161 return WTF::switchOn(m_pathVariant, [](const auto& path) { 162 return path.lineBoxTop(); 163 }); 164 } 165 166 inline LayoutUnit PathLine::lineBoxBottom() const 167 { 168 return WTF::switchOn(m_pathVariant, [](const auto& path) { 169 return path.lineBoxBottom(); 170 170 }); 171 171 } -
trunk/Source/WebCore/layout/integration/LayoutIntegrationLineIteratorLegacyPath.h
r269146 r269149 50 50 LayoutUnit selectionTopForHitTesting() const { return m_rootInlineBox->selectionTop(RootInlineBox::ForHitTesting::Yes); } 51 51 LayoutUnit selectionBottom() const { return m_rootInlineBox->selectionBottom(); } 52 LayoutUnit topWithLeading() const { return m_rootInlineBox->lineTopWithLeading(); }53 LayoutUnit bottomWithLeading() const { return m_rootInlineBox->lineBottomWithLeading(); }52 LayoutUnit lineBoxTop() const { return m_rootInlineBox->lineBoxTop(); } 53 LayoutUnit lineBoxBottom() const { return m_rootInlineBox->lineBoxBottom(); } 54 54 55 55 float y() const { return m_rootInlineBox->y(); } -
trunk/Source/WebCore/layout/integration/LayoutIntegrationLineIteratorModernPath.h
r269146 r269149 56 56 LayoutUnit selectionTopForHitTesting() const { return top(); } 57 57 LayoutUnit selectionBottom() const { return bottom(); } 58 LayoutUnit topWithLeading() const { return top(); }59 LayoutUnit bottomWithLeading() const { return bottom(); }58 LayoutUnit lineBoxTop() const { return top(); } 59 LayoutUnit lineBoxBottom() const { return bottom(); } 60 60 61 61 float y() const { return top(); } -
trunk/Source/WebCore/rendering/ComplexLineLayout.cpp
r268919 r269149 1499 1499 } 1500 1500 1501 m_flow.setLogicalHeight(lineBox->lineBo ttomWithLeading());1501 m_flow.setLogicalHeight(lineBox->lineBoxBottom()); 1502 1502 } 1503 1503 … … 1598 1598 // We now want to break at this line. Remember for next layout and trigger relayout. 1599 1599 m_flow.setBreakAtLineToAvoidWidow(lineCountUntil(lineBox)); 1600 m_flow.markLinesDirtyInBlockRange(lastRootBox()->lineBo ttomWithLeading(), lineBox->lineBottomWithLeading(), lineBox);1600 m_flow.markLinesDirtyInBlockRange(lastRootBox()->lineBoxBottom(), lineBox->lineBoxBottom(), lineBox); 1601 1601 } 1602 1602 } … … 1650 1650 reattachCleanLineFloats(*line, delta, line == firstCleanLine); 1651 1651 } 1652 m_flow.setLogicalHeight(lastRootBox()->lineBo ttomWithLeading());1652 m_flow.setLogicalHeight(lastRootBox()->lineBoxBottom()); 1653 1653 } else { 1654 1654 // Delete all the remaining lines. … … 1835 1835 floatHeight = std::min(floatHeight, LayoutUnit::max() - floatTop); 1836 1836 cleanLine.markDirty(); 1837 m_flow.markLinesDirtyInBlockRange(cleanLine.lineBo ttomWithLeading(), floatTop + floatHeight, &cleanLine);1837 m_flow.markLinesDirtyInBlockRange(cleanLine.lineBoxBottom(), floatTop + floatHeight, &cleanLine); 1838 1838 LayoutRect newFloatRect = originalFloatRect; 1839 1839 newFloatRect.setSize(newSize); … … 1962 1962 1963 1963 if (lastLine) { 1964 m_flow.setLogicalHeight(lastLine->lineBo ttomWithLeading());1964 m_flow.setLogicalHeight(lastLine->lineBoxBottom()); 1965 1965 InlineIterator iter = InlineIterator(&m_flow, lastLine->lineBreakObj(), lastLine->lineBreakPos()); 1966 1966 resolver.setPosition(iter, numberOfIsolateAncestors(iter)); … … 2022 2022 cleanLineStart = InlineIterator(&m_flow, previousLine->lineBreakObj(), previousLine->lineBreakPos()); 2023 2023 cleanLineBidiStatus = previousLine->lineBreakBidiStatus(); 2024 layoutState.setEndLineLogicalTop(previousLine->lineBo ttomWithLeading());2024 layoutState.setEndLineLogicalTop(previousLine->lineBoxBottom()); 2025 2025 2026 2026 for (RootInlineBox* line = lastLine; line; line = line->nextRootBox()) { … … 2064 2064 lastLine = nextLine; 2065 2065 2066 LayoutUnit logicalBottom = lastLine->lineBo ttomWithLeading() + absoluteValue(lineDelta);2066 LayoutUnit logicalBottom = lastLine->lineBoxBottom() + absoluteValue(lineDelta); 2067 2067 2068 2068 const FloatingObjectSet& floatingObjectSet = m_flow.floatingObjects()->set(); … … 2082 2082 return false; 2083 2083 2084 RenderFragmentContainer* currentFragment = m_flow.fragmentAtBlockOffset(rootBox->line TopWithLeading() + lineDelta);2084 RenderFragmentContainer* currentFragment = m_flow.fragmentAtBlockOffset(rootBox->lineBoxTop() + lineDelta); 2085 2085 // Just bail if the fragment didn't change. 2086 2086 if (rootBox->containingFragment() == currentFragment) … … 2112 2112 layoutState.setEndLine(result); 2113 2113 if (result) { 2114 layoutState.setEndLineLogicalTop(line->lineBo ttomWithLeading());2114 layoutState.setEndLineLogicalTop(line->lineBoxBottom()); 2115 2115 matched = checkPaginationAndFloatsAtEndLine(layoutState); 2116 2116 } … … 2300 2300 lineBox->clearContainingFragment(); 2301 2301 else { 2302 if (auto containingFragment = m_flow.fragmentAtBlockOffset(lineBox->line TopWithLeading()))2302 if (auto containingFragment = m_flow.fragmentAtBlockOffset(lineBox->lineBoxTop())) 2303 2303 lineBox->setContainingFragment(*containingFragment); 2304 2304 else -
trunk/Source/WebCore/rendering/RenderBlockFlow.cpp
r269146 r269149 1694 1694 // adjustLinePositionForPagination() for more details. 1695 1695 LayoutRect overflow = line->logicalVisualOverflowRect(line->lineTop(), line->lineBottom()); 1696 lineTop = std::min(line->line TopWithLeading(), overflow.y());1696 lineTop = std::min(line->lineBoxTop(), overflow.y()); 1697 1697 } 1698 1698 return lineBottom - lineTop; … … 1743 1743 overflowsFragment = false; 1744 1744 LayoutRect logicalVisualOverflow = lineBox->logicalVisualOverflowRect(lineBox->lineTop(), lineBox->lineBottom()); 1745 LayoutUnit logicalOffset = std::min(lineBox->line TopWithLeading(), logicalVisualOverflow.y());1746 LayoutUnit logicalBottom = std::max(lineBox->lineBo ttomWithLeading(), logicalVisualOverflow.maxY());1745 LayoutUnit logicalOffset = std::min(lineBox->lineBoxTop(), logicalVisualOverflow.y()); 1746 LayoutUnit logicalBottom = std::max(lineBox->lineBoxBottom(), logicalVisualOverflow.maxY()); 1747 1747 LayoutUnit lineHeight = logicalBottom - logicalOffset; 1748 1748 updateMinimumPageHeight(logicalOffset, calculateMinimumPageHeight(style(), *lineBox, logicalOffset, logicalBottom)); … … 1793 1793 if (lineHeight > pageLogicalHeight) { 1794 1794 // Split the top margin in order to avoid splitting the visible part of the line. 1795 remainingLogicalHeight -= std::min(lineHeight - pageLogicalHeight, std::max<LayoutUnit>(0, logicalVisualOverflow.y() - lineBox->line TopWithLeading()));1795 remainingLogicalHeight -= std::min(lineHeight - pageLogicalHeight, std::max<LayoutUnit>(0, logicalVisualOverflow.y() - lineBox->lineBoxTop())); 1796 1796 } 1797 1797 LayoutUnit remainingLogicalHeightAtNewOffset = pageRemainingLogicalHeightForOffset(logicalOffset + remainingLogicalHeight, ExcludePageBoundary); … … 3086 3086 RootInlineBox* lowestDirtyLine = lastRootBox(); 3087 3087 RootInlineBox* afterLowest = lowestDirtyLine; 3088 while (lowestDirtyLine && lowestDirtyLine->lineBo ttomWithLeading() >= logicalBottom && logicalBottom < LayoutUnit::max()) {3088 while (lowestDirtyLine && lowestDirtyLine->lineBoxBottom() >= logicalBottom && logicalBottom < LayoutUnit::max()) { 3089 3089 afterLowest = lowestDirtyLine; 3090 3090 lowestDirtyLine = lowestDirtyLine->prevRootBox(); 3091 3091 } 3092 3092 3093 while (afterLowest && afterLowest != highest && (afterLowest->lineBo ttomWithLeading() >= logicalTop || afterLowest->lineBottomWithLeading() < 0)) {3093 while (afterLowest && afterLowest != highest && (afterLowest->lineBoxBottom() >= logicalTop || afterLowest->lineBoxBottom() < 0)) { 3094 3094 afterLowest->markDirty(); 3095 3095 afterLowest = afterLowest->prevRootBox(); … … 3413 3413 3414 3414 if (!linesAreFlipped && line->legacyRootInlineBox() && line->legacyRootInlineBox()->isFirstAfterPageBreak() 3415 && (pointInLogicalContents.y() < line-> topWithLeading() || (blocksAreFlipped && pointInLogicalContents.y() == line->topWithLeading())))3415 && (pointInLogicalContents.y() < line->lineBoxTop() || (blocksAreFlipped && pointInLogicalContents.y() == line->lineBoxTop()))) 3416 3416 break; 3417 3417 … … 3426 3426 3427 3427 if (nextLineWithChildren && nextLineWithChildren->legacyRootInlineBox() && nextLineWithChildren->legacyRootInlineBox()->isFirstAfterPageBreak() 3428 && (pointInLogicalContents.y() > nextLineWithChildren-> topWithLeading() || (!blocksAreFlipped && pointInLogicalContents.y() == nextLineWithChildren->topWithLeading())))3428 && (pointInLogicalContents.y() > nextLineWithChildren->lineBoxTop() || (!blocksAreFlipped && pointInLogicalContents.y() == nextLineWithChildren->lineBoxTop()))) 3429 3429 continue; 3430 3430 } -
trunk/Source/WebCore/rendering/RenderBox.cpp
r269144 r269149 2204 2204 // the inlines. 2205 2205 RootInlineBox& rootBox = box.root(); 2206 rootBox.blockFlow().setStaticInlinePositionForChild(*this, rootBox.line TopWithLeading(), LayoutUnit::fromFloatRound(box.logicalLeft()));2206 rootBox.blockFlow().setStaticInlinePositionForChild(*this, rootBox.lineBoxTop(), LayoutUnit::fromFloatRound(box.logicalLeft())); 2207 2207 if (style().hasStaticInlinePosition(box.isHorizontal())) 2208 2208 setChildNeedsLayout(MarkOnlyThis); // Just mark the positioned object as needing layout, so it will update its position properly. -
trunk/Source/WebCore/rendering/RenderLayoutState.cpp
r254087 r269149 194 194 // FIXME: Need to handle crazy line-box-contain values that cause the root line box to not be considered. I assume 195 195 // the grid should honor line-box-contain. 196 LayoutUnit gridLineHeight = lineGridBox->lineBo ttomWithLeading() - lineGridBox->lineTopWithLeading();196 LayoutUnit gridLineHeight = lineGridBox->lineBoxBottom() - lineGridBox->lineBoxTop(); 197 197 if (!gridLineHeight) 198 198 return; … … 200 200 bool isHorizontalWritingMode = m_lineGrid->isHorizontalWritingMode(); 201 201 LayoutUnit lineGridBlockOffset = isHorizontalWritingMode ? m_lineGridOffset.height() : m_lineGridOffset.width(); 202 LayoutUnit firstLineTopWithLeading = lineGridBlockOffset + lineGridBox->line TopWithLeading();202 LayoutUnit firstLineTopWithLeading = lineGridBlockOffset + lineGridBox->lineBoxTop(); 203 203 LayoutUnit pageLogicalTop = isHorizontalWritingMode ? m_pageOffset.height() : m_pageOffset.width(); 204 204 if (pageLogicalTop <= firstLineTopWithLeading) -
trunk/Source/WebCore/rendering/RenderLineBreak.cpp
r268520 r269149 213 213 if (rootBox.isFirstAfterPageBreak()) { 214 214 if (box->isHorizontal()) 215 rect.shiftYEdgeTo(rootBox.line TopWithLeading());215 rect.shiftYEdgeTo(rootBox.lineBoxTop()); 216 216 else 217 rect.shiftXEdgeTo(rootBox.line TopWithLeading());217 rect.shiftXEdgeTo(rootBox.lineBoxTop()); 218 218 } 219 219 -
trunk/Source/WebCore/rendering/RenderText.cpp
r268806 r269149 358 358 if (box->root().isFirstAfterPageBreak()) { 359 359 if (box->isHorizontal()) 360 rect.shiftYEdgeTo(box->root().line TopWithLeading());360 rect.shiftYEdgeTo(box->root().lineBoxTop()); 361 361 else 362 rect.shiftXEdgeTo(box->root().line TopWithLeading());362 rect.shiftXEdgeTo(box->root().lineBoxTop()); 363 363 } 364 364 -
trunk/Source/WebCore/rendering/RootInlineBox.cpp
r269146 r269149 187 187 m_lineTop += blockDirectionDelta; 188 188 m_lineBottom += blockDirectionDelta; 189 m_line TopWithLeading+= blockDirectionDelta;190 m_lineBo ttomWithLeading+= blockDirectionDelta;189 m_lineBoxTop += blockDirectionDelta; 190 m_lineBoxBottom += blockDirectionDelta; 191 191 if (hasEllipsisBox()) 192 192 ellipsisBox()->adjustPosition(dx, dy); … … 277 277 maxHeight = std::max<LayoutUnit>(0, maxHeight); // FIXME: Is this really necessary? 278 278 279 LayoutUnit line TopWithLeading= heightOfBlock;280 LayoutUnit lineBo ttomWithLeading= heightOfBlock + maxHeight;281 setLineTopBottomPositions(lineTop, lineBottom, line TopWithLeading, lineBottomWithLeading);279 LayoutUnit lineBoxTop = heightOfBlock; 280 LayoutUnit lineBoxBottom = heightOfBlock + maxHeight; 281 setLineTopBottomPositions(lineTop, lineBottom, lineBoxTop, lineBoxBottom); 282 282 setPaginatedLineWidth(blockFlow().availableLogicalWidthForContent(heightOfBlock)); 283 283 … … 356 356 // FIXME: Need to handle crazy line-box-contain values that cause the root line box to not be considered. I assume 357 357 // the grid should honor line-box-contain. 358 LayoutUnit gridLineHeight = lineGridBox->lineBo ttomWithLeading() - lineGridBox->lineTopWithLeading();358 LayoutUnit gridLineHeight = lineGridBox->lineBoxBottom() - lineGridBox->lineBoxTop(); 359 359 if (!gridLineHeight) 360 360 return 0; … … 363 363 LayoutUnit lineGridFontHeight { lineGridBox->logicalHeight() }; 364 364 LayoutUnit firstTextTop { lineGridBlockOffset + lineGridBox->logicalTop() }; 365 LayoutUnit firstLineTopWithLeading = lineGridBlockOffset + lineGridBox->line TopWithLeading();365 LayoutUnit firstLineTopWithLeading = lineGridBlockOffset + lineGridBox->lineBoxTop(); 366 366 LayoutUnit firstBaselinePosition = firstTextTop + lineGridFontAscent; 367 367 … … 376 376 LayoutUnit pageLogicalTop; 377 377 if (layoutState->isPaginated() && layoutState->pageLogicalHeight()) { 378 pageLogicalTop = blockFlow().pageLogicalTopForOffset(line TopWithLeading() + delta);378 pageLogicalTop = blockFlow().pageLogicalTopForOffset(lineBoxTop() + delta); 379 379 if (pageLogicalTop > firstLineTopWithLeading) 380 380 firstTextTop = pageLogicalTop + lineGridBox->logicalTop() - lineGrid->borderAndPaddingBefore() + lineGridPaginationOrigin; … … 413 413 414 414 // We may end up shifted to a new page. We need to do a re-snap when that happens. 415 LayoutUnit newPageLogicalTop = blockFlow().pageLogicalTopForOffset(lineBo ttomWithLeading() + result);415 LayoutUnit newPageLogicalTop = blockFlow().pageLogicalTopForOffset(lineBoxBottom() + result); 416 416 if (newPageLogicalTop == pageLogicalTop) 417 417 return result; 418 418 419 419 // Put ourselves at the top of the next page to force a snap onto the new grid established by that page. 420 return lineSnapAdjustment(newPageLogicalTop - (blockOffset + line TopWithLeading()));420 return lineSnapAdjustment(newPageLogicalTop - (blockOffset + lineBoxTop())); 421 421 } 422 422 … … 1113 1113 while (++printedCharacters <= depth * 2) 1114 1114 stream << " "; 1115 stream << "Line: (top: " << lineTop() << " bottom: " << lineBottom() << ") with leading (top: " << line TopWithLeading() << " bottom: " << lineBottomWithLeading() << ")";1115 stream << "Line: (top: " << lineTop() << " bottom: " << lineBottom() << ") with leading (top: " << lineBoxTop() << " bottom: " << lineBoxBottom() << ")"; 1116 1116 stream.nextLine(); 1117 1117 InlineBox::outputLineBox(stream, mark, depth); -
trunk/Source/WebCore/rendering/RootInlineBox.h
r269146 r269149 55 55 LayoutUnit lineBottom() const { return m_lineBottom; } 56 56 57 LayoutUnit line TopWithLeading() const { return m_lineTopWithLeading; }58 LayoutUnit lineBo ttomWithLeading() const { return m_lineBottomWithLeading; }57 LayoutUnit lineBoxTop() const { return m_lineBoxTop; } 58 LayoutUnit lineBoxBottom() const { return m_lineBoxBottom; } 59 59 60 60 LayoutUnit paginationStrut() const { return m_paginationStrut; } … … 82 82 83 83 LayoutUnit alignBoxesInBlockDirection(LayoutUnit heightOfBlock, GlyphOverflowAndFallbackFontsMap&, VerticalPositionCache&); 84 void setLineTopBottomPositions(LayoutUnit top, LayoutUnit bottom, LayoutUnit topWithLeading, LayoutUnit bottomWithLeading)84 void setLineTopBottomPositions(LayoutUnit top, LayoutUnit bottom, LayoutUnit lineBoxTop, LayoutUnit lineBoxBottom) 85 85 { 86 86 m_lineTop = top; 87 87 m_lineBottom = bottom; 88 m_line TopWithLeading = topWithLeading;89 m_lineBo ttomWithLeading = bottomWithLeading;88 m_lineBoxTop = lineBoxTop; 89 m_lineBoxBottom = lineBoxBottom; 90 90 } 91 91 … … 217 217 LayoutUnit m_lineBottom; 218 218 219 LayoutUnit m_line TopWithLeading;220 LayoutUnit m_lineBo ttomWithLeading;219 LayoutUnit m_lineBoxTop; 220 LayoutUnit m_lineBoxBottom; 221 221 222 222 LayoutUnit m_paginationStrut;
Note:
See TracChangeset
for help on using the changeset viewer.