W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2007

[whatwg] switch element

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 30 Oct 2007 19:42:14 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0710301939360.15478@hixie.dreamhostps.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?

Fixed this by switching to using "irrelevant" instead.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 30 October 2007 12:42:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC