- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Mon, 21 Mar 2005 13:30:02 +0100
Ian Hickson wrote: >> # The children of a form element must be block-level elements, >> # unless one of the ancestors of the form element is a td, th, li, >> # dd, dt, or block-level element other than div, in which case >> # either block-level or inline-level content is allowed (but not >> # both). input elements of type hidden may be placed anywhere (both >> # in inline contexts and block contexts). >> >> Why does the content model of the FORM element have to be so >> difficult? Why can't it be either block- or inline-level >> irrespective of its parent element? > > ...but without allowing: > > <body> <form> <input>... </form> </body> The BODY element is a block-level element other than the DIV element. The definition should either be made more clear, or dropped in favor of just allowing either block- or inline-level markup irrespective of its parent element. -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Monday, 21 March 2005 04:30:02 UTC