[webkit-changes] [WebKit/WebKit] a20a8c: [LFC][IFC] LineBuilder::rebuildLineWithInlineConte...
Alan Baradlay
noreply at github.com
Tue Nov 8 12:26:26 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a20a8cdd780071814d64cd5a60ee89ce2d451746
https://github.com/WebKit/WebKit/commit/a20a8cdd780071814d64cd5a60ee89ce2d451746
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M LayoutTests/TestExpectations
A LayoutTests/fast/block/float/intrusive-floats-with-reverted-inline-content-expected.txt
A LayoutTests/fast/block/float/intrusive-floats-with-reverted-inline-content.html
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[LFC][IFC] LineBuilder::rebuildLineWithInlineContent should exclude overflowing floats from previous line
https://bugs.webkit.org/show_bug.cgi?id=247624
<rdar://101990952>
Reviewed by Antti Koivisto.
Overflowing floats from previous line get added to m_placedFloats list but they are not really part of the current line (at least not in the context of current inline item range).
Only count the inline items that we are re-adding to the line here.
* LayoutTests/TestExpectations: see webkit.org/b/247625
* LayoutTests/fast/block/float/intrusive-floats-with-reverted-inline-content-expected.txt: Added.
* LayoutTests/fast/block/float/intrusive-floats-with-reverted-inline-content.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::rebuildLineWithInlineContent):
Canonical link: https://commits.webkit.org/256457@main
More information about the webkit-changes
mailing list