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

@MatsPalmgren Some sites that were broken by the change switched to `counter-set` as a workaround. But implementing the updated spec would break them again. Like https://digital.library.upenn.edu/women/stylesheets/book-2020.css

```css
/* create a page counter for the book */
/* previously used counter-reset in this call */
BODY {
 counter-set: page-counter; 
}
```

It doesn't seem good to do different things for `counter-set` and `counter-reset` when both instantiate a counter, though.

This is getting quite messy. I'm starting to think that a new syntax would have been better (like the recently introduced `reversed()`).

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


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

Received on Wednesday, 30 June 2021 00:06:06 UTC