[whatwg] [wf2] 2.3. Changes to existing controls

# 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?

(Note also that the block- or inline-level model can't be described by a 
DTD, only with a schema, but I don't believe that is a problem, is it?)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Monday, 21 March 2005 04:17:04 UTC