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

Re: Selectors Tests

From: Brad Kemper <brkemper.comcast@gmail.com>
Date: Wed, 29 Oct 2008 21:36:38 -0700
Cc: Lachlan Hunt <lachlan.hunt@lachy.id.au>, fantasai <fantasai.lists@inkedblade.net>, www-style <www-style@w3.org>
Message-Id: <BDC5BAE7-4F96-4838-A93D-4EA49A29CCE5@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Oct 29, 2008, at 2:41 PM, Boris Zbarsky wrote:

> 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?

Is that a purely philosophical question, or does it matter somehow?  
Given that it is not rendered and takes up no space, and that it will  
not be disabled if display changes to something other than "none",  
then matching or not would seem to make little or no difference.
Received on Thursday, 30 October 2008 04:37:20 UTC

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