Re: Selectors Tests

Boris Zbarsky wrote:
> Andrew Fedoniouk wrote:
>> This phrase tells me that :enabled and :disabled "can be true at the 
>> same time.
>> Otherwise my parser is failed on "element is disabled if it could be 
>> enabled".
>
> "could" means it's not right now.
>
Ah! http://www.ietf.org/rfc/rfc2119.txt then please.
>>> It's not nonsense if you're doing something other than just color 
>>> styling of the control itself or some such.
>> And what can you do else on input elements by CSS?
>
> Use sibling combinators?  Set display?  Change opacity?  You name it.
Do you have real life examples for the :enabled then?
Say when you need to do something like:
*:enabled + something { what? }
>
>> Precise naming is a Good Thing as they say.
>
> Sure.
Do you have full list of elements in Gecko that get :enabled by default?
<a>, <object>/<embed>, <frame>,<frameset>, <input>, <select>, 
<textarea>... what else?

--
Andrew Fedoniouk.

http://terrainformatica.com

Received on Saturday, 8 November 2008 00:32:21 UTC