- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 26 Aug 2006 00:18:58 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3627
Summary: Validator incorrectly reports failure when using CSS2
grammar - parses full-length numeric escapes incorrectly
Product: CSSValidator
Version: CSS Validator
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: CSS 2.0
AssignedTo: ot@w3.org
ReportedBy: cecil@cecilward.com
QAContact: www-validator-cvs@w3.org
I believe that the following CSS2 fragment is legal CSS, if my reading of CSS 2
is correct, yet the validator incorrectly reports an error with grammar=CSS2
selected. Test case:
selector { color: gr\000065en; }
Reasoning: in CSS2 no terminating space is required after a full-length numeric
escape sequence, filled out to the maximum of six characters. So in CSS2 the
property value is "red". See the productions for "escape" in the CSS2 grammar.
[FYI, compare
selector { color: gre\000065n; }
selector { color: r\000065 d; }
both of which is correctly reported as valid. It seems to be that the parser is
reading characters after the sixth hex digit and parsing them as part of the
number.]
Regards,
Cecil Ward.
Received on Saturday, 26 August 2006 00:19:10 UTC