RESOLVED DUPLICATE of bug 9638591509
Formatting tags nested greater than 3 deep fail to close
https://bugs.webkit.org/show_bug.cgi?id=91509
Summary Formatting tags nested greater than 3 deep fail to close
James Wheare
Reported 2012-07-17 09:33:59 PDT
Works fine with 3 <u>*<u>*<u>*</u></u></u> This is not underlined Breaks with 4 <u>*<u>*<u>*<u>*</u></u></u></u> This *is* underlined </u></u></u></u></u></u></u></u></u> This is still underlined. DOM structure ends up like this: <u>*<u>*<u>*<u>*</u></u></u> This *is* underlined This is still underlined.</u> A closing </pre> tag clears the formatting. This affects all formatting specific tags I tried, e.g. bold, italic, font, big, small, etc. Check URL https://dl.dropbox.com/u/175535/bugs/webkit/nested-formatting.html for test cases This *does not* affect formatting applied via span style or class atrributes. <a> tags are also unaffected. Whether or not this is invalid, this
Attachments
James Wheare
Comment 1 2012-07-17 09:35:40 PDT
Oops, truncated description. Whether or not this is valid (doesn't make sense to nest <u> might make sense to nest <big/small> though) it seems like a pretty bad failure state.
James Wheare
Comment 2 2012-07-17 09:43:59 PDT
This also affects <font> tags, but only if all the nested tags are setting the same property.
Alexey Proskuryakov
Comment 3 2012-07-18 12:21:20 PDT
This changed in r103223. I don't know if this specific change is intentional, but it certainly doesn't match Firefox (I didn't test IE).
Eric Seidel (no email)
Comment 4 2012-09-12 17:34:48 PDT
*** This bug has been marked as a duplicate of bug 96385 ***
Note You need to log in before you can comment on or make changes to this bug.