Re: [csswg-drafts] [css-lists] How to control the gap between the marker and the text? (#4571)

@Loirooriol 
In fact, ordered lists don't have a gap between the counter and the text. It's unordered lists that don't support removing the gap other than rewriting marker content with custom symbol. It looks like as if there's another hidden pseudoelement between the marker and the text.

I think this is the document that lacks explanation on the gap:

https://www.w3.org/TR/css-pseudo-4/#marker-pseudo

It mentions marker::postfix as a possibility, but doesn't specify the issue.

Anyway, the issue disappears if you set marker to something different from the defaults. Then, you can use `::before` to add spacing.

In addition, even `::marker` implementation is lacking in browsers. So w3c still has time to address inconsistencies.

-- 
GitHub Notification of comment by Vanuan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4571#issuecomment-2231505140 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 16 July 2024 18:02:19 UTC