W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] switch element

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 16 Apr 2006 02:36:33 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0604160235140.21459@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC