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>.
15 years ago
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>).