[csswg-drafts] [css-lists] counter-reset in UA sheet causing some compat issues. (#7227)

emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-lists] counter-reset in UA sheet causing some compat issues. ==
Gecko implements CSS lists as per spec, however no other browser does. This means that code like:

```css
ol { counter-reset: none }
```

Does nothing on non-Gecko browsers, but break subsequent lists in Firefox because it overrides [the UA sheet](https://drafts.csswg.org/css-lists/#ua-stylesheet). See https://bugzilla.mozilla.org/show_bug.cgi?id=1765827 for the most recent example of this.

Maybe the list-item counter-reset should be magically auto-added to ol/ul/menu instead of via a UA sheet? That prevents authors from removing it but it might be needed for compatibility.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7227 using your GitHub account


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

Received on Friday, 22 April 2022 11:22:36 UTC