W3C home > Mailing lists > Public > public-html@w3.org > March 2008

Parsing: nested forms

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 03 Mar 2008 12:23:03 +0100
To: "Ian Hickson" <ian@hixie.ch>
Cc: "HTML WG" <public-html@w3.org>
Message-ID: <op.t7ftwpd564w2qv@annevk-t60.oslo.opera.com>

The way HTML 5 currently defines how to parse nested forms works for the  
following cases:

   <form><form></form>X</form>
   "X" is not in the form

   <form><x><form></form>X</x></form>
   "X" is not in the form. <x> is closed by the first </form>.

It does not work on pages nested form elements inside interleaved with  
"block-level elements":

   <form><h1><form></form>X</h1></form>
   "X" should be in the form, but is not.

   <form><div><form></form>X</div></form>
   "X" should be in the form, but is not.

Firefox and WebKit both seem to have some kind of "block-level scoping"  
that makes them handle those cases as Web pages expect. HTML 5 needs  
something similar.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 3 March 2008 11:23:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:53 UTC