W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: Tabbed Interfaces in CSS

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 25 Apr 2009 06:15:34 -0700
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-Id: <5BDB5CD6-37FF-485D-8325-EDBEC55DAF7D@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Apr 24, 2009, at 10:38 PM, Boris Zbarsky wrote:

>> I'm fine with taking the easy way out.  Whenever radio-group  
>> changes, the element becomes un:checked.
>
> Which is the same as your proposed solution for the DOM changes  
> above. I'd be fine with this; it's nice and simple.
>
>> Some cursory thinking doesn't show this as causing any problems.  I
>> basically want :checked to change *only* as a result of direct user
>> interaction, not due to some crazy conflict-resolution rules.
>
> Right; those are the part of HTML radio behavior that really suck.

It seems like it would be very useful to be able to use JavaScript to  
change which box is checked. Would this be possible, with say  
myElement.checked ? Or does that require going outside the CSS for the  
interface?

And if it can be checked in JavaScript, are you saying that checking  
it, then inserting it into the DOM would uncheck it?

For non-radio group item, I think it reasonable to keep checked items  
checked.
Received on Saturday, 25 April 2009 13:16:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT