Re: [csswg-drafts] [css-lists-3] Inconsist `counter()` syntax between CSS 2 and 3 (#5795)

@Loirooriol https://www.w3.org/TR/CSS2/generate.html#content

> `<counter>`
>    Counters may be specified with two different functions: 'counter()' or 'counters()'.  [...] **The name must not be 'none', 'inherit' or 'initial'. Such a name causes the declaration to be ignored.** 

Generally-speaking, prose restrictions override grammar leniency.

Agree with @SebastianZ that the example in syndata.html needs to be fixed, though. :/ That's definitely self-inconsistent.

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


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

Received on Wednesday, 30 December 2020 19:24:37 UTC