[Webkit-unassigned] [Bug 249918] [WPT] css/css-lists/list-marker-symbol-bidi.html with "unicode-bidi: plaintext" may have incorrect expected rendering

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 4 03:35:47 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=249918

--- Comment #2 from Oriol Brufau <obrufau at igalia.com> ---
https://drafts.csswg.org/css-lists/#marker-side

marker-side defaults to match-self, i.e.

> The marker box is positioned using the directionality of the ::marker’s originating element.

So since the 1st <li> has direction:rtl, then its ::marker appears at the right. And since the 2nd <li> has direction:ltr, its ::marker appears on the left.

It sounds like you expect marker-side:match-parent

> The marker box is positioned using the directionality of the ::marker’s originating element’s parent element.

Then since the <ul> have direction:rtl, both markers would appear at the right.

I don't see why unicode-bidi:plaintext would make it different, given that the markers have outside position. https://drafts.csswg.org/css-lists/#list-style-position-outside

> CSS does not specify the precise location of the marker box or its position in the painting order, but does require that it be placed on the inline-start side of the box, using the writing mode of the box indicated by marker-side.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230104/e8e7d31c/attachment-0001.htm>


More information about the webkit-unassigned mailing list