[whatwg] switch element

Ian Hickson ian at hixie.ch
Tue Oct 30 12:42:14 PDT 2007


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list