[whatwg] switch element
Ian Hickson
ian at hixie.ch
Sat Apr 15 19:36:33 PDT 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list