<?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>1073</bug_id>
          
          <creation_ts>2005-02-07 11:31:28 +0000</creation_ts>
          <short_desc>CSS3: Required &quot;Rules for handling parsing errors&quot; not working</short_desc>
          <delta_ts>2008-03-17 14:34:48 +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>Other</component>
          <version>CSS Validator</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christian Roth">roth</reporter>
          <assigned_to name="Olivier Thereaux">ot</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>4230</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Roth">roth</who>
    <bug_when>2005-02-07 11:31:28 +0000</bug_when>
    <thetext>Trying to parse this example

p { color:red;   color{;color:maroon}; color:green }

from &lt;http://www.w3.org/TR/CSS21/syndata.html#parsing-errors&gt;, &quot;Malformed declarations&quot;, does 
not deliver the result as required by the specification which should be:

p { color:green }

Similar problems occur in some of the other examples for malformed declarations from the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4231</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-02-07 11:41:01 +0000</bug_when>
    <thetext>That&apos;s because the CSS Validator makes no attempt at supporting CSS 2.1 and 
these things have essentially undefined behavior in CSS 2.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4232</commentid>
    <comment_count>2</comment_count>
    <who name="Christian Roth">roth</who>
    <bug_when>2005-02-07 12:32:01 +0000</bug_when>
    <thetext>Björn, you are right. I&apos;m updating my report so that it reflects that it is only valid for CSS3, see:

&lt;http://www.w3.org/TR/2003/WD-css3-syntax-20030813/#error-handling&gt;

The profile selector offers CSS3 as a supported level, so it should work in that mode. However, it 
doesn&apos;t and produces the same erroneous validated stylesheet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19496</commentid>
    <comment_count>3</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2008-03-17 14:34:48 +0000</bug_when>
    <thetext>http://www.w3.org/TR/CSS2/syndata.html#parsing-errors
is saying:
&quot;In some cases, user agents must ignore part of an illegal style sheet. This specification defines ignore to mean that the user agent parses the illegal part (in order to find its beginning and end), but otherwise acts as if it had not been there.&quot;. To me, it matches the examples in http://www.w3.org/TR/CSS21/syndata.html#parsing-errors regarding malformed declarations, and what was defined already for invalid at-keywords.

It is now fixed and should parse all the &quot;malformed declaration&quot; section, as written in the examples.
See http://qa-dev.w3.org:8001/css-validator/ 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>