W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Mon, 03 Sep 2007 21:42:57 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1ISJhB-0002N0-8q@wiggum.w3.org>

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





------- Comment #1 from info@gtalbot.org  2007-09-03 21:42 -------
Same findings with one testpage of the latest (August 4th 2007) CSS 2.1
testsuite:

URL:
http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/t040103-ident-03-c.htm

CSS validation: 
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.w3.org%2FStyle%2FCSS%2FTest%2FCSS2.1%2Fcurrent%2Fhtml4%2Ft040103-ident-03-c.htm&warning=1&profile=css21&usermedium=all

Returned result from CSS validator reporting "Valid CSS Information":

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

(...)

.-1ident, .five {
color : green;
} 

In both cases, the selectors starting with hyphen followed with a digit should
be detected, rejected and reported as parse errors.
Received on Monday, 3 September 2007 21:42:59 GMT

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