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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>16012</bug_id>
          
          <creation_ts>2007-11-15 23:25:55 -0800</creation_ts>
          <short_desc>Two malformed rules are not correctly handled, parsed</short_desc>
          <delta_ts>2009-06-13 10:46:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/ParsingErrorsMalformedDeclarations.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gérard Talbot (no longer involved)">browserbugs2</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alexbcoles</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61387</commentid>
    <comment_count>0</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2007-11-15 23:25:55 -0800</bug_when>
    <thetext>Steps to reproduce: 
----------------
Load provided URL

Expected results: 
--------------
The 2nd and 3rd &lt;p&gt; should be green.
These 2nd and 3rd &lt;p&gt; were green in Safari 3.0.2 under XP Pro according to my records.

Actual results in Safari 3.0.4, build 523.12.9:
--------------------------------------
The 2nd &lt;p&gt; is black.
The 3rd &lt;p&gt; is black.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61392</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-11-16 00:17:27 -0800</bug_when>
    <thetext>Firefox 2.0.0.9 and Firefox 3.0b2 (14-Nov-2007) shows all three lines as green.
Opera 9.22 only shows the first two lines as green.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72945</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Coles">alexbcoles</who>
    <bug_when>2008-03-06 15:44:35 -0800</bug_when>
    <thetext>&quot;Malformed rules should be ignored while valid rules are applied&quot;

Two additional test cases from MS IE CSS Test Suite:

    http://samples.msdn.microsoft.com/csstestpages/Chapter_4/malformed-decl-005.htm
    http://samples.msdn.microsoft.com/csstestpages/Chapter_4/malformed-decl-006.htm

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72948</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Coles">alexbcoles</who>
    <bug_when>2008-03-06 15:46:23 -0800</bug_when>
    <thetext>&quot;Malformed rules should be ignored while valid rules are applied&quot; (WebKit r30853)

Two additional test cases from MS IE CSS Test Suite:

    http://samples.msdn.microsoft.com/csstestpages/Chapter_4/malformed-decl-005.htm
    http://samples.msdn.microsoft.com/csstestpages/Chapter_4/malformed-decl-006.htm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74645</commentid>
    <comment_count>4</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2008-03-21 09:42:54 -0700</bug_when>
    <thetext>Opera 9.50 build 9807 and MSIE 8 beta 1 show all three lines as green and they both pass the MSDN tests malformed-decl-005.htm and malformed-decl-006.htm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125640</commentid>
    <comment_count>5</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2009-06-13 10:46:50 -0700</bug_when>
    <thetext>When I try the testcase with the latest stable release of Safari 4.0 for Windows (build 530.17), the two malformed CSS rules are now correctly handled, correctly parsed and I get expected results. So, this bug has been fixed.

I wanted to try the malformed-decl-005.htm and malformed-decl-006.htm tests from the MS IE CSS Test Suite, but these have been refiled under other URLs.

I am resolving this bug as WORKSFORME since I do not know which patch fixed this bug. Please adjust, correct the RESOLUTION field accordingly if you know which patch fixed this bug.

Resolving as WOKRSFORME

Regards, Gérard</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>