[csswg-drafts] [css-counter-styles-3] `@counter-style` declared with extended `system` and `*-symbols` (#9258)

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

== [css-counter-styles-3] `@counter-style` declared with extended `system` and `*-symbols` ==
https://drafts.csswg.org/css-counter-styles-3/#valdef-counter-style-system-extends

  > If a `@counter-style` uses the `extends` system, it must not contain a `symbols` or `additive-symbols` descriptor, or else the `@counter-style` rule is invalid.

In Chrome/FF (at least), `*-symbols` is ignored and the rule is *valid*.

```html
<style>
  @counter-style counter {
    system: extends cyclic;
    symbols: foo bar;
  }
  ul { list-style: counter }
</style>
<ul>
  <li>one</li> <!-- 1. one-->
  <li>two</li> <!-- 2. two -->
</ul>
<script>
  document.styleSheets[0].cssRules.length // 1
</script>
```

At least, considering their related issues/resolutions, I think *invalid* may be an oversight in https://github.com/w3c/csswg-drafts/commit/4068d1027125febca89ac7cc54f262d5a65c1978 / https://github.com/w3c/csswg-drafts/commit/ba2a8cbd69a0205f409fe8019e746d9a81dad9cc.

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


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

Received on Tuesday, 29 August 2023 06:35:11 UTC