[webkit-changes] [WebKit/WebKit] 3defc1: [IFC] TextOnlySimpleLineBuilder::placeNonWrappingI...
Alan Baradlay
noreply at github.com
Mon Aug 21 05:05:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3defc11c5fe7146e04236490c72897d1ddb7cbc0
https://github.com/WebKit/WebKit/commit/3defc11c5fe7146e04236490c72897d1ddb7cbc0
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp
Log Message:
-----------
[IFC] TextOnlySimpleLineBuilder::placeNonWrappingInlineTextContent should use CandidateTextContent
https://bugs.webkit.org/show_bug.cgi?id=260438
Reviewed by Antti Koivisto.
Let's use the fast codepath (where we directly commit to line) for non-wrapping content.
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::placeNonWrappingInlineTextContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::commitCandidateContent):
(WebCore::Layout::appendInlineTextItem): Deleted.
Canonical link: https://commits.webkit.org/267085@main
More information about the webkit-changes
mailing list