[whatwg] [WF3] <input type=selector>

Anne van Kesteren fora at annevankesteren.nl
Sat Dec 10 07:46:09 PST 2005


Quoting Dean Edwards <dean at edwards.name>:
>> If you just use radio and checkbox controls you would not need this.
>
> But then you would have to script the actions of the radio/checkbox 
> controls. I'm looking for a declarative solution. Are you suggesting 
> using radio/checkbox controls and adding an attribute to them? Maybe 
> that is a better solution. It would certainly degrade better than a 
> new input type.

Yeah, a global "label" or "for" attribute which can be applied to some 
ancestor,
like html:tr. (Or only to the template (which mostly is the html:tr).)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>




More information about the whatwg mailing list