<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>3629</bug_id>
          
          <creation_ts>2006-08-26 00:21:30 +0000</creation_ts>
          <short_desc>Validator incorrectly reports CSS1-validity for case of escape + space (tested within property value)</short_desc>
          <delta_ts>2007-10-23 21:33:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 1.0</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="CecilWard">cecil</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11286</commentid>
    <comment_count>0</comment_count>
    <who name="CecilWard">cecil</who>
    <bug_when>2006-08-26 00:21:30 +0000</bug_when>
    <thetext>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 &quot;re d&quot;, and only in the CSS2 grammar is the value &quot;red&quot;. See the productions for &quot;escape&quot; in CSS1 appendix B.

Regards,

Cecil Ward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15881</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-07-19 09:29:48 +0000</bug_when>
    <thetext>This looks fixed since Bug #3627 was fixed. Keeping opened until we are sure that it is fixed, and have test cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17366</commentid>
    <comment_count>2</comment_count>
    <who name="CecilWard">cecil</who>
    <bug_when>2007-10-23 21:33:58 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; This looks fixed since Bug #3627 was fixed. Keeping opened until we are sure
&gt; that it is fixed, and have test cases.

No. Retested today, this bug is still outstanding; the validator still incorrectly reports no error with grammar=CSS1 selected</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>