[whatwg] nested forms: spec doesn't quite describe current HTML UA behaviour

Hallvord R M Steen hallvors at gmail.com
Sun Oct 2 01:43:46 PDT 2005


WF2 Spec says:

> Similarly, form elements in XHTML may now be nested
> (this does not apply to HTML, where a <form> tag is
> interpreted by UAs as implying the end of any unclosed
> form elements).

This doesn't describe UA behaviour according to my test cases. What
current UAs do is to ignore nested <form> *start* tags. They do not
close the outer form before the start tag of the inner form, but they
do close it on the end tag of the inner form.
--
Hallvord R. M. Steen



More information about the whatwg mailing list