- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 26 Aug 2006 00:21:30 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3629
Summary: Validator incorrectly reports CSS1-validity for case of
escape + space (tested within property value)
Product: CSSValidator
Version: CSS Validator
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: CSS 1.0
AssignedTo: ot@w3.org
ReportedBy: cecil@cecilward.com
QAContact: www-validator-cvs@w3.org
The validator does not validate CSS1 correctly, it validates the example below
against CSS2 despite the fact that you select grammar=CSS1.
I believe that the following CSS fragment is illegal CSS1, if my reading of CSS
1 is correct, yet the validator reports no error with grammar=CSS1 selected.
--
Test case:
element { color: r\65 d }
IMPORTANT NOTE: to reproduce this defect, grammar=CSS1 MUST be selected, in
which case the validator incorrectly reports success. (The example is valid
CSS2.)
--
Reasoning: in CSS1 the space after the numeric escape sequence is not to be
stripped as in CSS2. So in CSS1 the property value is "re d", and only in the
CSS2 grammar is the value "red". See the productions for "escape" in CSS1
appendix B.
Regards,
Cecil Ward.
Received on Saturday, 26 August 2006 00:21:44 UTC