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

Re: Tabbed Interfaces in CSS

From: Giovanni Campagna <scampa.giovanni@gmail.com>
Date: Fri, 24 Apr 2009 14:40:46 +0200
Message-ID: <65307430904240540m5092da18i781e569808c972ed@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
First of all, read User Interface for CSS3 [1]. You'll find in section
5.3.3 a property called "user-select", that defines the selection /
activation behavior for all elements, regardless of event handling
registered on them.
The value "toggle" says that activation (mouse click, enter key press)
should toggle the :checked pseudo-class, using the value of
"toggle-group": if the latter is "none", element is a checkbox, else
it is a radiobutton (only for :checked).

This means that to your proposal you just need to add
"user-select: toggle" in the style for cards
(it may be implied by appearance:card, but I hope no, since it is not
implied by appearance:checkbox or appearance:radiobox currently)

Adding this property would it be a problem for you?
If yes, why?

Giovanni

[1] http://www.w3.org/TR/2000/WD-css3-userint-20000216
Received on Friday, 24 April 2009 12:41:22 GMT

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