<?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>18612</bug_id>
          
          <creation_ts>2008-04-18 19:01:54 -0700</creation_ts>
          <short_desc>parsing of unclosed strings fail</short_desc>
          <delta_ts>2011-01-05 11:04:58 -0800</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>525.x (Safari 3.1)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>34067</dup_id>
          
          <bug_file_loc>http://www.hixie.ch/tests/adhoc/css/parsing/core-syntax/strings/investigation/002.html </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="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jasneet</cc>
    
    <cc>tabatkins</cc>
    
    <cc>tonyg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78205</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2008-04-18 19:01:54 -0700</bug_when>
    <thetext>I Steps:
Go to http://www.hixie.ch/tests/adhoc/css/parsing/core-syntax/strings/investigation/002.html

II Issue:
* fails to span multiple lines
* unterminated strings and content after unclosed strings not supported
* ignores unclosed strings

III Conclusion:
issue with parsing of unclosed strings

IV Other browsers:
IE7: ok
FF3: not ok
Opera9.24: not ok

V Nightly tested: 32005</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329644</commentid>
    <comment_count>1</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-01-05 10:32:51 -0800</bug_when>
    <thetext>This came up in http://code.google.com/p/chromium/issues/detail?id=68594

Hixie&apos;s test is more thorough, but here&apos;s my little case that will show a blue page in WebKit but a red page in Firefox:
&lt;style&gt;
body{background:red}
foo{bar&quot;}
body{background:blue}
&lt;/style&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329657</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-01-05 10:56:00 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; This came up in http://code.google.com/p/chromium/issues/detail?id=68594
&gt; 
&gt; Hixie&apos;s test is more thorough, but here&apos;s my little case that will show a blue page in WebKit but a red page in Firefox:
&gt; &lt;style&gt;
&gt; body{background:red}
&gt; foo{bar&quot;}
&gt; body{background:blue}
&gt; &lt;/style&gt;

Here is the relevant part of the spec:
http://www.w3.org/TR/CSS21/syndata.html#parsing-errors (see &quot;Unexpected end of string&quot;).

In the case above, Firefox gets it right. The blue declaration should be dropped and the page should be red.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329669</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-01-05 11:04:58 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 34067 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>