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

[csswg-drafts] [selectors] is #42 a valid ID selector?

From: Douglas Stockwell via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Jun 2016 05:43:49 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-161120834-1466401428-sysbot+gh@w3.org>
dstockwell has just created a new issue for 

== [selectors] is #42 a valid ID selector? ==
https://drafts.csswg.org/selectors/#id-selectors says:

> An ID selector consists of a “number sign” (U+0023, #) immediately 
followed by the ID value, which **must be a CSS identifier**.

But in [the grammar](https://drafts.csswg.org/selectors/#grammar) 
`<id-selector>` is defined as `<hash-token>` which would appear to 
allow a sequence beginning with numbers.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/202 using your GitHub 
Received on Monday, 20 June 2016 05:43:52 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:32 UTC