Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 791e1e02c6c1ee6f753599f9194d3cd66b911356
https://github.com/WebKit/WebKit/commit/791e1e02c6c1ee6f753599f9194d3cd66b911356
Author: Alan Baradlay <[email protected]>
Date: 2026-08-25 (Tue, 25 Aug 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order-expected.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order-ref.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order.html
M Source/WebCore/rendering/RenderListItem.cpp
Log Message:
-----------
List marker is painted on top of the list item's content instead of behind it
https://bugs.webkit.org/show_bug.cgi?id=322458
rdar://185741211
Reviewed by Antti Koivisto.
RenderListItem::paintObject paints the marker after calling the base class, so
the marker ends up over the list
item's content instead of behind it. Content that reaches back across the
marker, a first line pulled out by a
negative margin, is drawn under the marker rather than covering it.
Tests:
imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order-ref.html
imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order.html
*
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order-expected.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order-ref.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-paint-order.html:
Added.
* Source/WebCore/rendering/RenderListItem.cpp:
(WebCore::RenderListItem::paintObject):
Canonical link: https://commits.webkit.org/319818@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications