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

Re: Selectors Tests

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 06 Nov 2008 13:12:35 -0800
Message-ID: <49135DC3.4050609@inkedblade.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Patrick Garies <pgaries@fastmail.us>, www-style@w3.org

Boris Zbarsky wrote:
> 
> 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.

Me, too. Spec updated:
   http://dev.w3.org/csswg/selectors3/#UIstates

I replaced "Analogously" with "Conversely", and I also left in the
statement "Most elements will be neither enabled nor disabled."

~fantasai
Received on Thursday, 6 November 2008 21:13:25 GMT

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