W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Re: [CSS3] UI element states pseudo-classes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 08 Jan 2005 22:30:33 -0600
Message-ID: <41E0B369.6000707@mit.edu>
To: Andrew Fedoniouk <news@terrainformatica.com>, www-style@w3.org

Andrew Fedoniouk wrote:
> Reading "UI element states pseudo-classes" [1] I think that make sense:
> 
> 1)  to remove :checked  pseudo class as it mimics exactly 
> input[type="radio"][checked]  and input[type="checkbox"][checked] selectors

It doesn't, actually.  Apart from the issue Laurens pointed out, :checked 
applies to <option> elements in HTML, say....

> 2)  to remove :enabled  pseudo class as it is enough to have :disabled

Except that somet things may be neither :enabled nor :disabled...  So it's not 
enough to just have a single boolean value, since we're trying to indicate 3 
possible states.

-Boris
Received on Sunday, 9 January 2005 04:30:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:35 GMT