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

Gosh I hate the grammar of the counter-* properties *so much*.

But hm, we actually got lucky here; `none` is already disallowed as a counter name. So `counter-reset: list-item none;` could be unambiguous, if we change the grammar to be `[ <counter-name> [ <integer> | none ]? ]+`; saying `foo none` would be a no-op (not resetting) for every other counter name, but for `list-item` in particular it would give us that "if you refer to it we don't do the magic" behavior that counter-increment gets.

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


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

Received on Wednesday, 11 May 2022 16:53:16 UTC