<?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>6854</bug_id>
          
          <creation_ts>2006-01-26 14:56:16 -0800</creation_ts>
          <short_desc>&lt;b&gt;&lt;div&gt;&lt;div&gt;bold &lt;/b&gt; still bold</short_desc>
          <delta_ts>2006-02-08 01:41:28 -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>DOM</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6302</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P5</priority>
          <bug_severity>Trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>30166</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2006-01-26 14:56:16 -0800</bug_when>
    <thetext>In IE, this case:

   &lt;b&gt;&lt;div&gt;&lt;div&gt; X &lt;/b&gt; Y

...has X bold and Y not bold. In Webkit, they are both bold.

Minor bug. I suggest not looking at this until the HTML5 Parser spec is ready and everyone can agree on the right thing to do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30173</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2006-01-26 15:13:14 -0800</bug_when>
    <thetext>From the code:

void HTMLParser::handleResidualStyleCloseTagAcrossBlocks(HTMLStackElem* elem)
{
    // Find the element that crosses over to a higher level.   For now, if there is more than
    // one, we will just give up and not attempt any sort of correction.  It&apos;s highly unlikely that
    // there will be more than one, since &lt;p&gt; tags aren&apos;t allowed to be nested.
...
}

So this is a known issue in the code.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30179</commentid>
    <comment_count>2</comment_count>
      <attachid>5998</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-01-26 15:31:36 -0800</bug_when>
    <thetext>Created attachment 5998
Test case

Firefox 1.5 renders the HTML the same way that MSIE 6 does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31790</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-07 15:07:33 -0800</bug_when>
    <thetext>Duplicate of Bug 6302 or vice-versa?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31817</commentid>
    <comment_count>4</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-02-08 01:41:28 -0800</bug_when>
    <thetext>6302 was first, duping this to that :)

*** This bug has been marked as a duplicate of 6302 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5998</attachid>
            <date>2006-01-26 15:31:36 -0800</date>
            <delta_ts>2006-01-26 15:31:36 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>bug-6854-test.html</filename>
            <type>text/html</type>
            <size>52</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">PGI+PGRpdj48ZGl2PnNob3VsZCBiZSBib2xkIDwvYj4gc2hvdWxkIG5vdCBiZSBib2xkCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>