[webkit-changes] [WebKit/WebKit] 596bd8: [LFC][IFC] Text content should avoid vertically st...
Alan Baradlay
noreply at github.com
Wed Oct 12 22:01:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 596bd81d115e2a4a5969acfd7150c35f80abda2a
https://github.com/WebKit/WebKit/commit/596bd81d115e2a4a5969acfd7150c35f80abda2a
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
A LayoutTests/fast/block/float/intrusive-float-with-stretching-inline-box-expected.html
A LayoutTests/fast/block/float/intrusive-float-with-stretching-inline-box.html
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[LFC][IFC] Text content should avoid vertically stacked, intrusive floats within the line
https://bugs.webkit.org/show_bug.cgi?id=246400
Reviewed by Antti Koivisto.
This patch ensures that when floats are stacked vertically (clear) within the current line (line is tall) the text content does not overlap the float box.
---- ----
| | \ / | | \ /
| | \ / | | \ /
---- \/ vs. ---- \/
---------/\--- -------------- /\
| / \ | | | / \
-------/----\- -------------- / \
* LayoutTests/fast/block/float/intrusive-float-with-stretching-inline-box-expected.html: Added.
* LayoutTests/fast/block/float/intrusive-float-with-stretching-inline-box.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::lineRectForCandidateInlineContent const):
Canonical link: https://commits.webkit.org/255471@main
More information about the webkit-changes
mailing list