Summary: | Closing <li> should close nested <div> | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ian Taylor <itaylor> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, commit-queue |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
Attachments: |
Description
Ian Taylor
2009-06-03 12:00:03 PDT
Created attachment 30917 [details]
A test case showing the innerHTML value on a self closed xml tag.
Created attachment 30918 [details]
The same file but submitted as application/xhtml+xml
Created attachment 30919 [details]
A test case showing the innerHTML value on a self closed xml tag.
This has nothing to do with "self-closing" tags - every browser treats <div/> exactly like <div> in HTML. I can confirm that this source is parsed differently than in Firefox and than HTML5 postulates - "<div id='foo'/>Hello</li>" should be equivalent to "<div id='foo'>Hello</div></li>", not "<div id='foo'>Hello</li></div>". Re-titling accordingly. Created attachment 68215 [details]
test case for landing
Comment on attachment 68215 [details]
test case for landing
/me is happy today.
Comment on attachment 68215 [details] test case for landing Clearing flags on attachment: 68215 Committed r67969: <http://trac.webkit.org/changeset/67969> All reviewed patches have been landed. Closing bug. |