RESOLVED DUPLICATE of bug 63026854
<b><div><div>bold </b> still bold
https://bugs.webkit.org/show_bug.cgi?id=6854
Summary <b><div><div>bold </b> still bold
Ian 'Hixie' Hickson
Reported 2006-01-26 14:56:16 PST
In IE, this case: <b><div><div> X </b> 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.
Attachments
Test case (52 bytes, text/html)
2006-01-26 15:31 PST, David Kilzer (:ddkilzer)
no flags
Dave Hyatt
Comment 1 2006-01-26 15:13:14 PST
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's highly unlikely that // there will be more than one, since <p> tags aren't allowed to be nested. ... } So this is a known issue in the code.
David Kilzer (:ddkilzer)
Comment 2 2006-01-26 15:31:36 PST
Created attachment 5998 [details] Test case Firefox 1.5 renders the HTML the same way that MSIE 6 does.
David Kilzer (:ddkilzer)
Comment 3 2006-02-07 15:07:33 PST
Duplicate of Bug 6302 or vice-versa?
Joost de Valk (AlthA)
Comment 4 2006-02-08 01:41:28 PST
6302 was first, duping this to that :) *** This bug has been marked as a duplicate of 6302 ***
Note You need to log in before you can comment on or make changes to this bug.