[webkit-changes] [WebKit/WebKit] 30af57: [LFC][IFC] Do not cache lineHasOverflow in LineBui...
Alan Baradlay
noreply at github.com
Tue Nov 1 18:00:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 30af57ba2babe91ccc1d37b250e472d01980ca99
https://github.com/WebKit/WebKit/commit/30af57ba2babe91ccc1d37b250e472d01980ca99
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-11-01 (Tue, 01 Nov 2022)
Changed paths:
A LayoutTests/fast/inline/white-space-trimming-with-nbsp-mode-assert-expected.txt
A LayoutTests/fast/inline/white-space-trimming-with-nbsp-mode-assert.html
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[LFC][IFC] Do not cache lineHasOverflow in LineBuilder::close::trimTrailingContent
https://bugs.webkit.org/show_bug.cgi?id=247329
<rdar://101815457>
Reviewed by Antti Koivisto.
Whether the line has overflow may change inside trimTrailingContent. Let's not cache any of these values.
* LayoutTests/fast/inline/white-space-trimming-with-nbsp-mode-assert-expected.txt: Added.
* LayoutTests/fast/inline/white-space-trimming-with-nbsp-mode-assert.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::close):
Canonical link: https://commits.webkit.org/256207@main
More information about the webkit-changes
mailing list