Closed Bug 209434 Opened 21 years ago Closed 21 years ago

Should </form> close out containers opened after <form>?

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bzbarsky, Assigned: harishd)

References

Details

Attachments

(1 file)

Filed as a spin-off from bug 22480. The basic question is, what should the DOM model look like given the following markup: <form> <div>aaa </form> bbb Should the text "bbb" be a child of the <form>? Should it be a child of the <div> Should it be a child of the <form>'s parent? Right now it's ending up a child of the <div>.
Depends on: 22480
Attached file Testcase (deleted) —
OK, in IE that's ending up a child of the div too, as it is in konqueror. In Opera, it's ending up a child of the form's parent. Sounds like we have this implemented interoperably with IE and konq, so marking wontfix. Note that bug 22480 comment 33 does not apply to this bug (that is, changing this behavior would not make us like IE on that testcase, since what IE does is in fact more like what we do now than what we'd do if that </form> closed out the <div>).
Status: NEW → RESOLVED
Closed: 21 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: