Closed Bug 172217 Opened 23 years ago Closed 15 years ago

parsing/layout problem with mismatched tags

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: danm.moz, Unassigned)

Details

(Keywords: compat)

Attachments

(1 file)

Go to byronhoyt.com in Mozilla. Ewwwwww. That's probably not how the authors intended it to look. Try it in IE. Very nice. It's a very challenging-looking page to render, clearly hand-tooled, and full of unclosed and mismatched tags. Nevertheless, IE handles it fine. Mozilla handles it fine except for one very deadly set of mismatched tags that go like this (around line 285 of the HTML): <ul> <li>Band/Orchestra <table> <tr><td>Popular</td> </ul> </tr> </table> It's the misordered closing of the ul and table tags that causes the problem. It's understandable, making a mistake rendering this page. But this page looks fine in IE. IE seems to close out the <table> when the enclosing <ul> closes; we seem to keep the <ul> open forever.
Keywords: compat
The nice folks at Byron Hoyt have fixed their website, so this is no longer a test case.
Attached file Example as testcase
Adding testcase. And this is confirmed compat; you can't omit the end-tag for table (even assuming we'd drop the mismatched end-tags).
Assignee: harishd → nobody
QA Contact: moied → parser
WONTFIX per HTML5.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: