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

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 UTC