W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

[csswg-drafts] [selectors] The grammar of id-selector

From: Vince Fitz via GitHub <sysbot+gh@w3.org>
Date: Sun, 14 Aug 2016 12:58:21 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-171057404-1471179499-sysbot+gh@w3.org>
esdoppio has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [selectors] The grammar of id-selector ==
In the [grammar](https://drafts.csswg.org/selectors-4/#grammar) 
section,

> `<id-selector> = <hash-token>`

with a note at the bottom:

> In &lt;id-selector>, the &lt;hash-token>’s value must be an 
identifier.

Apart from that the note is really easy to be missed. Why not just

```
<id-selector> = '#' <ident-token>
```

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/407 using your GitHub 
account
Received on Sunday, 14 August 2016 12:58:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC