If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

RESOLVED WONTFIX

Status

()

Core
HTML: Parser
RESOLVED WONTFIX
15 years ago
14 years ago

People

(Reporter: bz, Assigned: harishd)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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
Created attachment 147521 [details]
Testcase
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
Last Resolved: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.