Bug 91509
| Summary: | Formatting tags nested greater than 3 deep fail to close | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Wheare <james> |
| Component: | DOM | Assignee: | Eric Seidel (no email) <eric> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | abarth, ap, eric |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://dl.dropbox.com/u/175535/bugs/webkit/nested-formatting.html | ||
James Wheare
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
James Wheare
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
This also affects <font> tags, but only if all the nested tags are setting the same property.
Alexey Proskuryakov
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)
*** This bug has been marked as a duplicate of bug 96385 ***