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

On Mon, 21 Mar 2005, James Graham wrote:
>
> I think the need to point this out implies that the condition (and the 
> wording of the condition) is too complex for most authors to understand 
> (and it's clear that no UA will enforce such a condition). Therefore the 
> paragraph as it stands benefits no-one and I suggest altering the 
> wording, at least.

Ok, how about this:

| The children of a form element must be block-level elements, unless one 
| of the ancestors of the form element is an element other than div whose 
| content model includes both block- and inline-level content, in which 
| case either block-level or inline-level content is allowed (but not 
| both).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 21 March 2005 04:51:16 UTC