-
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.
[IFC] Rename TextOnlyLineBuilder to TextOnlySimpleLineBuilder
https://bugs.webkit.org/show_bug.cgi?id=260261 Reviewed by Tim Nguyen. This builder is supposed to stay simple, covering only the most common cases (properties). * Source/WebCore/Sources.txt: * Source/WebCore/WebCore.xcodeproj/project.pbxproj: * Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp: (WebCore::Layout::InlineFormattingContext::layoutInFlowAndFloatContent): (WebCore::Layout::InlineFormattingContext::computedIntrinsicSizes): * Source/WebCore/layout/formattingContexts/inline/InlineLine.h: * Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp: Renamed from Source/WebCore/layout/formattingContexts/inline/TextOnlyLineBuilder.cpp. (WebCore::Layout::inlineTextItemWidth): (WebCore::Layout::placedInlineItemEnd): (WebCore::Layout::isLastLineWithInlineContent): (WebCore::Layout::appendInlineTextItem): (WebCore::Layout::consumeTrailingLineBreakIfApplicable): (WebCore::Layout::TextOnlySimpleLineBuilder::TextOnlySimpleLineBuilder): (WebCore::Layout::TextOnlySimpleLineBuilder::layoutInlineContent): (WebCore::Layout::TextOnlySimpleLineBuilder::initialize): (WebCore::Layout::TextOnlySimpleLineBuilder::placeInlineTextContent): (WebCore::Layout::TextOnlySimpleLineBuilder::placeNonWrappingInlineTextContent): (WebCore::Layout::TextOnlySimpleLineBuilder::handleInlineTextContent): (WebCore::Layout::TextOnlySimpleLineBuilder::handleLineEnding): (WebCore::Layout::TextOnlySimpleLineBuilder::rebuildLine): (WebCore::Layout::TextOnlySimpleLineBuilder::root const): (WebCore::Layout::TextOnlySimpleLineBuilder::isEligibleForSimplifiedTextOnlyInlineLayout): * Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.h: Renamed from Source/WebCore/layout/formattingContexts/inline/TextOnlyLineBuilder.h. (WebCore::Layout::TextOnlySimpleLineBuilder::isFirstFormattedLine const): (WebCore::Layout::TextOnlySimpleLineBuilder::formattingContext const): Canonical link: https://commits.webkit.org/266965@main
- Loading branch information
1 parent
46c2731
commit 641fced
Showing
6 changed files
with
26 additions
and
26 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