W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2009

[Bug 4999] Validator fails to detect and report id selector starting with hyphen followed by a digit

From: <bugzilla@wiggum.w3.org>
Date: Fri, 06 Feb 2009 16:57:43 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LVU1P-0007u2-Kj@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4999





--- Comment #2 from Yves Lafon <ylafon@w3.org>  2009-02-06 16:57:43 ---
In

#-1ident, .four {
color : red;
}

#-1ident matches the HASH production which is defined as # <NAME>
(see "#"{name}  {return HASH;} in http://www.w3.org/TR/CSS21/grammar.html )
or name is defined by {nmchar}+ containing [0-9], so it is correct according t
the grammar. I will check with the CSS WG.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 6 February 2009 16:57:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:08 GMT