[webkit-changes] [WebKit/WebKit] 86f7dc: [IFC] Enable non-nested list item with intrusive f...
Alan Baradlay
noreply at github.com
Thu Dec 22 23:21:29 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 86f7dc6a321754498a2dc2375df199e7bec2dc08
https://github.com/WebKit/WebKit/commit/86f7dc6a321754498a2dc2375df199e7bec2dc08
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
A LayoutTests/fast/inline/list-item-with-intrusive-float-expected.html
A LayoutTests/fast/inline/list-item-with-intrusive-float.html
M LayoutTests/platform/ios/fast/lists/001-vertical-expected.txt
M LayoutTests/platform/ios/fast/lists/003-vertical-expected.txt
M LayoutTests/platform/mac/fast/lists/001-vertical-expected.txt
M LayoutTests/platform/mac/fast/lists/003-vertical-expected.txt
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
Log Message:
-----------
[IFC] Enable non-nested list item with intrusive float for IFC
https://bugs.webkit.org/show_bug.cgi?id=249772
Reviewed by Antti Koivisto.
Nested list items where only the leaf list item has content produce multiple list markers on the same line.
<!DOCTYPE html>
<ul><li><ul><li>multiple list items on the same line</li></ul></li></ul>
Such markers interact with intrusive floats in a unique way where they may end up overlapping each other.
While this overlapping behavior is not supported in IFC yet, the simple, non-nested list marker setup should work fine.
(This is a surprisingly common case -e.g. on wikipedia.)
* LayoutTests/fast/inline/list-item-with-intrusive-float-expected.html: Added.
* LayoutTests/fast/inline/list-item-with-intrusive-float.html: Added.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForChild):
Canonical link: https://commits.webkit.org/258285@main
More information about the webkit-changes
mailing list