[whatwg] switch element

On Sat, 15 Apr 2006, Henri Sivonen wrote:
>
> Is there a reason why the switch element accept any block content and 
> instead of accepting just section elements? If section is the only 
> element with the suitable DOM interface, wouldn't it make sense for the 
> content model to be zero or more section elements one of which (if 
> non-zero sections) must have the active attribute set?

<switch> hasn't really been thought through. I welcome suggestions for 
whether we should keep it and/or how it should work (in particulra 
considering fallback behaviour). I agree that it makes sense to only allow 
<section> children.

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

Received on Saturday, 15 April 2006 19:36:33 UTC