Summary: | Close tags for li, dd, dt do not close previous unclosed tags | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | James Robinson <jamesr> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Attachments: |
|
Description
James Robinson
2009-03-03 16:56:50 PST
Created attachment 28246 [details]
Testcase for <dd> <dt> and <li>
The DOM structure is wrong for all three pairs of tags. The rendering for <dt> looks valid, but the rendering for <dd> has incorrect indentation and the rendering for <li>s has overlapping numbers.
FF3 has the correct DOM structure in all three cases and renders the <dd>s correctly but makes the same rendering mistake on <li>s.
Here is a real-life example of this bug. http://lineupblog.com/webkitbug.html Firefox closes the div correctly and doesn't trigger the bug. This bug is fixed by the HTML5 parser. |