Re: Selectors Tests

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 UTC