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

Re: Tabbed Interfaces in CSS

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 24 Apr 2009 22:55:51 -0500
Message-ID: <dd0fbad0904242055n79d60703k4d666bf69ec1c91d@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Giovanni Campagna <scampa.giovanni@gmail.com>, Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>
On Fri, Apr 24, 2009 at 2:38 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> Giovanni Campagna wrote:
>>
>> That "checking" should set the :checked pseudo-class and remove any
>> :checked pseudo-class on element that belong to the same "radio-group"
>> / "toggle-group" (set by the appropriate property).
>
> OK.  So the things one would need to keep track of would be:
>
> 1)  The toggle groups
> 2)  The checked state of every element
>
> Right?
>
> The latter is pretty simple, though there are issues like defining "clicking
> on it".  The latter, I suspect the devil is in the details in terms of how
> hard it is to implement (e.g. what happens when elements get added to or
> removed from these groups).

It would work exactly like adding or removing a radio button from the
DOM, I would think.  However that's handled currently (I haven't
tested it), that's how it should be handled here.

(I suppose it's possible that it's handled badly, but then that just
means that radio buttons themselves aren't implemented well and have
an issue that needs fixing.  Again, haven't tested anything.)

~TJ

PS: In response to you saying you've been mass-deleting the thread so
far, don't worry about it.  I, at least, expected that.  This thread's
been more the three or four of us hashing things out than an actual
discussion meant to be seriously read by others.  I would have written
out another top-level thread before I expected any real implementor
feedback, unless someone was really interested and was participating
from the beginning.
Received on Saturday, 25 April 2009 03:56:30 GMT

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