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

Re: Selectors Tests

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 29 Oct 2008 14:41:22 -0700
Message-ID: <4908D882.3040907@mit.edu>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: fantasai <fantasai.lists@inkedblade.net>, www-style <www-style@w3.org>

Lachlan Hunt wrote:
>   Most elements will be neither enabled nor disabled. An element is
>   enabled if the user can either activate it or transfer the focus to
>   it. An element is disabled if it could be enabled, but the user cannot
>   presently activate it or transfer focus to it.

So should an <input type="text" style="display: none"> match :disabled, 
by that reasoning?

Note that I raised that exact question in 

I probably even agree that <input type="hidden"> shouldn't match 
:enabled/:disabled, but I think the Selectors text as it stands doesn't 
really say what we want it to say...

Received on Wednesday, 29 October 2008 21:42:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:40 UTC