W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2020

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Dec 2020 19:24:35 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-752731418-1609356274-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:24 UTC