Re: Selectors Tests

Boris Zbarsky wrote:
> Andrew Fedoniouk wrote:
>> :disabled  != :not(:enabled)
>> :enabled  != :not(:disabled)
>> not(:enabled)  && :not(:disabled) == true
> 
> This is desired, yes.
> 
>> :enabled  && :disabled == true
> 
> This can't happen.

This needs to be specified then.

:enabled and :disabled are mutually exclusive in all domains CSS is
aimed to serve.

It means that either one :enabled or :disabled is just enough for 
practical needs.

input:not(:enabled) { color:gray; }

why do you need :disabled then?

-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Friday, 7 November 2008 05:22:33 UTC