RESOLVED WONTFIX Bug 13712
Avoid creating empty inlines when handling parsing errors
https://bugs.webkit.org/show_bug.cgi?id=13712
Summary Avoid creating empty inlines when handling parsing errors
mitz
Reported 2007-05-14 08:23:30 PDT
[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
Ian 'Hixie' Hickson
Comment 1 2007-08-23 19:56:41 PDT
Maybe the spec should change on this (if you think so, please send mail if you haven't already).
mitz
Comment 2 2007-08-24 04:01:35 PDT
Bug 15056 is about eliminating the innermost empty inline (which even by the current spec shouldn't exist).
Adam Barth
Comment 3 2010-09-20 00:45:15 PDT
We're matching the HTML5 spec here. If the spec changes, we can consider this change.
Note You need to log in before you can comment on or make changes to this bug.