-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Legacy line layout removal] Remove float and pagination support
https://bugs.webkit.org/show_bug.cgi?id=271056 rdar://problem/124691392 Reviewed by Alan Baradlay. Neither is used or needed anymore. * Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h: (WebCore::InlineIterator::LineBoxIteratorLegacyPath::containingFragment const): (WebCore::InlineIterator::LineBoxIteratorLegacyPath::isFirstAfterPageBreak const): * Source/WebCore/rendering/FloatingObjects.cpp: (WebCore::FloatingObjects::remove): (WebCore::FloatingObjects::clearLineBoxTreePointers): Deleted. * Source/WebCore/rendering/FloatingObjects.h: (WebCore::FloatingObjects::set const): (WebCore::FloatingObject::originatingLine const): Deleted. (WebCore::FloatingObject::clearOriginatingLine): Deleted. (WebCore::FloatingObject::setOriginatingLine): Deleted. * Source/WebCore/rendering/LegacyInlineBox.cpp: (WebCore::LegacyInlineBox::logicalHeight const): * Source/WebCore/rendering/LegacyInlineFlowBox.h: (WebCore::LegacyInlineFlowBox::LegacyInlineFlowBox): * Source/WebCore/rendering/LegacyLineLayout.cpp: (WebCore::LegacyLineLayout::~LegacyLineLayout): (WebCore::LegacyLineLayout::layoutRunsAndFloats): (WebCore::LegacyLineLayout::layoutRunsAndFloatsInRange): (WebCore::LegacyLineLayout::linkToEndLineIfNeeded): (WebCore::LegacyLineLayout::layoutLineBoxes): (WebCore::LegacyLineLayout::determineStartPosition): (WebCore::LegacyLineLayout::determineEndPosition): (WebCore::LegacyLineLayout::matchedEndLine): (WebCore::LegacyLineLayout::addOverflowFromInlineChildren): (WebCore::LegacyLineLayout::appendFloatingObjectToLastLine): Deleted. (WebCore::repaintDirtyFloats): Deleted. (WebCore::LegacyLineLayout::restartLayoutRunsAndFloatsInRange): Deleted. (WebCore::LegacyLineLayout::reattachCleanLineFloats): Deleted. (WebCore::LegacyLineLayout::checkFloatInCleanLine): Deleted. (WebCore::LegacyLineLayout::checkPaginationAndFloatsAtEndLine): Deleted. (WebCore::LegacyLineLayout::lineWidthForPaginatedLineChanged const): Deleted. (WebCore::LegacyLineLayout::positionNewFloatOnLine): Deleted. (WebCore::LegacyLineLayout::updateFragmentForLine const): Deleted. * Source/WebCore/rendering/LegacyLineLayout.h: * Source/WebCore/rendering/LegacyRootInlineBox.cpp: (WebCore::LegacyRootInlineBox::~LegacyRootInlineBox): (WebCore::containingFragmentMap): Deleted. (WebCore::LegacyRootInlineBox::containingFragment const): Deleted. (WebCore::LegacyRootInlineBox::clearContainingFragment): Deleted. (WebCore::LegacyRootInlineBox::setContainingFragment): Deleted. * Source/WebCore/rendering/LegacyRootInlineBox.h: (WebCore::LegacyRootInlineBox::lineBoxHeight const): (WebCore::LegacyRootInlineBox::paginationStrut const): Deleted. (WebCore::LegacyRootInlineBox::setPaginationStrut): Deleted. (WebCore::LegacyRootInlineBox::isFirstAfterPageBreak const): Deleted. (WebCore::LegacyRootInlineBox::setIsFirstAfterPageBreak): Deleted. (WebCore::LegacyRootInlineBox::paginatedLineWidth const): Deleted. (WebCore::LegacyRootInlineBox::setPaginatedLineWidth): Deleted. (WebCore::LegacyRootInlineBox::isForTrailingFloats const): Deleted. (WebCore::LegacyRootInlineBox::setIsForTrailingFloats): Deleted. (WebCore::LegacyRootInlineBox::appendFloat): Deleted. (WebCore::LegacyRootInlineBox::removeFloat): Deleted. (WebCore::LegacyRootInlineBox::floatsPtr): Deleted. * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::rebuildFloatingObjectSetFromIntrudingFloats): (WebCore::RenderBlockFlow::removeFloatingObject): (WebCore::RenderBlockFlow::adjustLinePositionForPagination): Deleted. * Source/WebCore/rendering/RenderBlockFlow.h: * Source/WebCore/rendering/RenderFragmentContainer.cpp: (WebCore::RenderFragmentContainer::visualOverflowRectForBox const): (WebCore::RenderFragmentContainer::visualOverflowRectForBoxForPropagation): Tighten RenderBoxModelObject -> RenderBox making it clear RenderInline::linesVisualOverflowBoundingBoxInFragment is unneeded. * Source/WebCore/rendering/RenderFragmentContainer.h: * Source/WebCore/rendering/RenderInline.cpp: (WebCore::RenderInline::linesVisualOverflowBoundingBoxInFragment const): Deleted. * Source/WebCore/rendering/RenderInline.h: (WebCore::RenderInline::linesVisualOverflowBoundingBoxInFragment const): * Source/WebCore/rendering/RenderLineBoxList.cpp: (WebCore::RenderLineBoxList::dirtyLinesFromChangedChild): * Source/WebCore/rendering/line/BreakingContext.h: (WebCore::BreakingContext::BreakingContext): (WebCore::shouldSkipWhitespaceAfterStartObject): (WebCore::BreakingContext::handleFloat): Deleted. * Source/WebCore/rendering/line/LineBreaker.cpp: (WebCore::LineBreaker::reset): (WebCore::LineBreaker::skipTrailingWhitespace): (WebCore::LineBreaker::skipLeadingWhitespace): (WebCore::LineBreaker::nextLineBreak): * Source/WebCore/rendering/line/LineBreaker.h: (WebCore::LineBreaker::lineWasHyphenated): (WebCore::LineBreaker::usedClear): Deleted. (WebCore::LineBreaker::insertFloatingObject): Deleted. (WebCore::LineBreaker::positionNewFloatOnLine): Deleted. * Source/WebCore/rendering/line/LineLayoutState.h: (WebCore::LineLayoutState::LineLayoutState): (WebCore::FloatWithRect::create): Deleted. (WebCore::FloatWithRect::renderer const): Deleted. (WebCore::FloatWithRect::rect const): Deleted. (WebCore::FloatWithRect::everHadLayout const): Deleted. (WebCore::FloatWithRect::adjustRect): Deleted. (WebCore::FloatWithRect::FloatWithRect): Deleted. (): Deleted. (WebCore::LineLayoutState::FloatList::append): Deleted. (WebCore::LineLayoutState::FloatList::setLastFloat): Deleted. (WebCore::LineLayoutState::FloatList::lastFloat const): Deleted. (WebCore::LineLayoutState::FloatList::setLastCleanFloat): Deleted. (WebCore::LineLayoutState::FloatList::lastCleanFloat const): Deleted. (WebCore::LineLayoutState::FloatList::floatWithRect const): Deleted. (WebCore::LineLayoutState::FloatList::begin): Deleted. (WebCore::LineLayoutState::FloatList::end): Deleted. (WebCore::LineLayoutState::FloatList::find): Deleted. (WebCore::LineLayoutState::FloatList::isEmpty const): Deleted. (WebCore::LineLayoutState::fragmentedFlow const): Deleted. (WebCore::LineLayoutState::checkForFloatsFromLastLine const): Deleted. (WebCore::LineLayoutState::setCheckForFloatsFromLastLine): Deleted. (WebCore::LineLayoutState::floatList): Deleted. Canonical link: https://commits.webkit.org/276188@main
- Loading branch information
Showing
20 changed files
with
46 additions
and
919 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.