[whatwg] optgroup element used for selection

Ian Hickson ian at hixie.ch
Wed Jun 3 13:08:53 PDT 2009


On Thu, 9 Apr 2009, Randy Drielinger wrote:
>
> Currently (HTML4.01) and in the near-future HTML5 spec optgroup elements 
> are used to group options (hence the name :-) and amongst others allow 
> us to disable a group of option elements at once.
> 
> Personally, I think it would make sense to add the ability to make an 
> optgroup selectable. The result *could* be to select all the childs of 
> that optgroup element (or simply post the child values as an array or 
> whatever).

This has been suggested previously also. I have noted it as a possible 
extension for a future version. I'd like to avoid adding new features at 
this point so that we can get HTML5 out of the door. :-)

Cheers,
-- 
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