-
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 annotations and text combine
https://bugs.webkit.org/show_bug.cgi?id=271226 rdar://124999850 Reviewed by Alan Baradlay. They are not not used anymore. * Source/WebCore/rendering/LegacyInlineFlowBox.cpp: (WebCore::LegacyInlineFlowBox::addToLine): (WebCore::LegacyInlineFlowBox::adjustPosition): (WebCore::LegacyInlineFlowBox::computeOverAnnotationAdjustment const): Deleted. (WebCore::LegacyInlineFlowBox::computeUnderAnnotationAdjustment const): Deleted. * Source/WebCore/rendering/LegacyInlineFlowBox.h: (WebCore::LegacyInlineFlowBox::LegacyInlineFlowBox): (WebCore::LegacyInlineFlowBox::hasTextDescendants const): (WebCore::LegacyInlineFlowBox::logicalFrameRectIncludingLineHeight const): (WebCore::LegacyInlineFlowBox::hasHardLinebreak const): Deleted. (WebCore::LegacyInlineFlowBox::descendantsHaveSameLineHeightAndBaseline const): Deleted. (WebCore::LegacyInlineFlowBox::clearDescendantsHaveSameLineHeightAndBaseline): Deleted. Also remove descendantsHaveSameLineHeightAndBaseline bit which no one is using. * Source/WebCore/rendering/LegacyLineLayout.cpp: (WebCore::LegacyLineLayout::createLineBoxes): (WebCore::LegacyLineLayout::layoutLineBoxes): * Source/WebCore/rendering/LegacyRootInlineBox.cpp: (WebCore::LegacyRootInlineBox::selectionTop const): (WebCore::LegacyRootInlineBox::selectionBottom const): * Source/WebCore/rendering/line/BreakingContext.h: (WebCore::textWidth): (WebCore::BreakingContext::handleText): (WebCore::iteratorIsBeyondEndOfRenderCombineText): Deleted. * Source/WebCore/rendering/line/LineBreaker.cpp: (WebCore::LineBreaker::skipLeadingWhitespace): Canonical link: https://commits.webkit.org/276347@main
- Loading branch information
Showing
9 changed files
with
26 additions
and
248 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
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.