Re: [csswg-drafts] [css-lists] CSS counter scope/inheritance is incompatible with HTML ordinals (#5477)

That's an HTML concept that seems [only relevant for non-CSS UAs](https://html.spec.whatwg.org/multipage/rendering.html#lists:ordinal-value). CSS UAs need to obey https://drafts.csswg.org/css-lists/#content-property, so in this case the text comes from the `list-item` counter. And as per https://html.spec.whatwg.org/multipage/rendering.html#lists, only `<ol>`, `<ul>` and `<menu>` default to `counter-reset: list-item`.

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


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

Received on Thursday, 1 August 2024 19:36:48 UTC