Bug 13712
Summary: | Avoid creating empty inlines when handling parsing errors | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | abarth |
Priority: | P3 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
mitz
[This is a follow up on the fix for bug 13603]
It would be nice to refrain from creating additional empty residual style tags when recovering from parsing errors, for example <i><div></i></div> parses into <i></i><div><i></i></div>, and with n block-level tags in between you get n extra empty <i>s. Note, however, that this behavior conforms to the HTML5 spec.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ian 'Hixie' Hickson
Maybe the spec should change on this (if you think so, please send mail if you haven't already).
mitz
Bug 15056 is about eliminating the innermost empty inline (which even by the current spec shouldn't exist).
Adam Barth
We're matching the HTML5 spec here. If the spec changes, we can consider this change.