Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2062ed73888621c66ca8037bb8c57d8ded073c17
https://github.com/WebKit/WebKit/commit/2062ed73888621c66ca8037bb8c57d8ded073c17
Author: Alan Baradlay <[email protected]>
Date: 2025-12-26 (Fri, 26 Dec 2025)
Changed paths:
A LayoutTests/fast/lists/list-marker-outside-inside-flex-item-expected.html
A LayoutTests/fast/lists/list-marker-outside-inside-flex-item.html
M Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp
Log Message:
-----------
WebKit handles text layout inconsistently depending on `list-style-type`
https://bugs.webkit.org/show_bug.cgi?id=302099
<rdar://problem/164650313>
Reviewed by Antti Koivisto.
Outside list markers should not contribute to the min/max width (they are not
even supposed to be here in IFC.)
Test: fast/lists/list-marker-outside-inside-flex-item.html
* LayoutTests/fast/lists/list-marker-outside-inside-flex-item-expected.html:
Added.
* LayoutTests/fast/lists/list-marker-outside-inside-flex-item.html: Added.
* Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp:
(WebCore::Layout::IntrinsicWidthHandler::computedIntrinsicWidthForConstraint):
Canonical link: https://commits.webkit.org/304947@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications