W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2004

[whatwg] Default Radio Buttons

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Dec 2004 01:00:18 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0412092253440.4755@dhalsim.dreamhost.com>
On Thu, 9 Dec 2004, Matthew Raymond wrote:
>
> I already have a good sense of why it's so hard to come up with a 
> solution for this, but let's give it a shot anyway. After all, a good 
> engineer needs to document what won't work, because you never know when 
> a client/manager/other person might ask you why you didn't take a 
> specific approach.
> 
> Solution #1 - New elements:

Wouldn't be backwards compatible.


> Solution #2 - Metadata Switch:

What's the point? If authors want to select a radio button by default, 
there is already a switch -- the "checked" attribute on the radio button 
that sets the radio button they want to have be the default to be 
checked. And it's better than a <meta> switch, since they can control it 
on a per-radio-button-set, and they can pick which radio button should 
default to checked...

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 9 December 2004 17:00:18 UTC

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