[webkit-changes] [WebKit/WebKit] 23d5b9: [IFC] Hanging trailing content should not be treat...
Alan Baradlay
noreply at github.com
Wed Dec 21 14:12:13 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 23d5b940828fd5931a64c0bdbb471f499f13cb82
https://github.com/WebKit/WebKit/commit/23d5b940828fd5931a64c0bdbb471f499f13cb82
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[IFC] Hanging trailing content should not be treated trimmable
https://bugs.webkit.org/show_bug.cgi?id=249711
Reviewed by Antti Koivisto.
If the trailing content on the line is hanging whitespace (pre-wrap), it should be treated as preserved (again, pre-wrap) and not trimmable (this likely has no visual impact though).
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
(WebCore::Layout::Line::hangingTrailingWhitespaceWidth const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):
(WebCore::Layout::LineBuilder::handleInlineContent):
(WebCore::Layout::trimmableTrailingContentWidth): Deleted.
Canonical link: https://commits.webkit.org/258216@main
More information about the webkit-changes
mailing list