W3C home > Mailing lists > Public > www-style@w3.org > November 2008

Re: Selectors Tests

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 06 Nov 2008 11:06:55 -0500
Message-ID: <4913161F.9070702@mit.edu>
To: Patrick Garies <pgaries@fastmail.us>
CC: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org

Patrick Garies wrote:
> The following wording seems to do all of the above:
> 
> “The |:enabled| pseudo‐class represents user interface elements that are 
> in an enabled state; such elements have a corresponding disabled state.
> 
> Analogously, the |:disabled| pseudo‐class represents user interface 
> elements that are in a disabled state; such elements have a 
> corresponding enabled state.
> 
> What constitutes an enabled state, a disabled state, and applicable user 
> interface elements is language‐dependent.
> 
> Note that CSS properties that might affect a user’s ability to interact 
> with a given user interface element do not affect whether it matches 
> |:enabled| or |:disabled|; e.g., the |display| and |visibility| 
> properties have no effect on the enabled/disabled state of an element.”


For what it's worth, I like this proposal.

-Boris
Received on Thursday, 6 November 2008 16:07:50 GMT

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