<?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>13712</bug_id>
          
          <creation_ts>2007-05-14 08:23:30 -0700</creation_ts>
          <short_desc>Avoid creating empty inlines when handling parsing errors</short_desc>
          <delta_ts>2010-09-20 00:45:15 -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>Page Loading</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10036</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-05-14 08:23:30 -0700</bug_when>
    <thetext>[This is a follow up on the fix for bug 13603]

It would be nice to refrain from creating additional empty residual style tags when recovering from parsing errors, for example &lt;i&gt;&lt;div&gt;&lt;/i&gt;&lt;/div&gt; parses into &lt;i&gt;&lt;/i&gt;&lt;div&gt;&lt;i&gt;&lt;/i&gt;&lt;/div&gt;, and with n block-level tags in between you get n extra empty &lt;i&gt;s. Note, however, that this behavior conforms to the HTML5 spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2007-08-23 19:56:41 -0700</bug_when>
    <thetext>Maybe the spec should change on this (if you think so, please send mail if you haven&apos;t already).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1552</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-08-24 04:01:35 -0700</bug_when>
    <thetext>Bug 15056 is about eliminating the innermost empty inline (which even by the current spec shouldn&apos;t exist).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>281419</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-09-20 00:45:15 -0700</bug_when>
    <thetext>We&apos;re matching the HTML5 spec here.  If the spec changes, we can consider this change.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>