Bug 14939 - <DIV> not implicitly closed by <LI>
Summary: <DIV> not implicitly closed by <LI>
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://shopper.cnet.com/4002-5_9-1008...
Keywords: HasReduction, InRadar
: 18151 18790 19617 (view as bug list)
Depends on:
Reported: 2007-08-10 20:06 PDT by Darin Fisher (:fishd, Google)
Modified: 2010-09-20 02:08 PDT (History)
8 users (show)

See Also:

reduced test case (190 bytes, text/html)
2007-08-10 20:07 PDT, Darin Fisher (:fishd, Google)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Fisher (:fishd, Google) 2007-08-10 20:06:28 PDT
<DIV> not implicitly closed by <LI>

WebKit doesn't seem to implement step 3 of the <li> start tag rules in the HTML5 parser spec:
(search for 'A start tag whose tag name is "li"'):

This causes rendering problems on cnet.com

I picked the component HTML DOM because this seems like a DOM construction bug, but I'm not sure if that's appropriate.  I didn't see a HTML parser component.
Comment 1 Darin Fisher (:fishd, Google) 2007-08-10 20:07:09 PDT
Created attachment 15917 [details]
reduced test case
Comment 3 mitz 2008-04-22 19:26:40 PDT
Comment 4 mitz 2008-04-22 19:27:03 PDT
*** Bug 18151 has been marked as a duplicate of this bug. ***
Comment 5 Eric Seidel (no email) 2008-04-23 14:18:27 PDT
http://shopper.cnet.com/4002-5_9-1008684.html?tag-sh.glnav is really a great example of a real-world, popular (http://www.alexa.com/data/details/main/cnet.com) site which has rendering errors due to this bug.
Comment 6 Eric Seidel (no email) 2008-04-23 14:19:38 PDT
shopper.cnet.com has a page rank of 7. :)
Comment 7 Robert Blaut 2008-06-03 05:10:14 PDT
*** Bug 18790 has been marked as a duplicate of this bug. ***
Comment 8 mitz 2008-10-09 20:43:59 PDT
See also bug 21469.
Comment 9 Emilio López 2009-03-08 16:38:06 PDT
http://lineupblog.com/webkitbug.html also triggers the bug (see the 'Comentarios' part in the sidebar)
Comment 10 Jerome Leclanche 2009-10-28 15:25:27 PDT
Is this the same bug as http://crbug.com/14740 ? (testcase avail.)
Comment 11 mitz 2010-01-26 17:46:08 PST
Bug 14939.
Comment 12 Alexey Proskuryakov 2010-01-26 17:54:17 PST
I believe Dan meant bug 20809 in the above comment.
Comment 13 Yair Yogev 2010-06-21 12:46:55 PDT
and also Bug 19617
Comment 14 Tony Chang 2010-06-21 17:33:31 PDT
*** Bug 19617 has been marked as a duplicate of this bug. ***
Comment 15 Adam Barth 2010-09-20 02:08:30 PDT
Fixed by the HTML5 parser.