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

Re: Selectors Tests

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 07 Nov 2008 08:21:01 -0500
Message-ID: <491440BD.3080104@mit.edu>
To: Mikko Rantalainen <mikko.rantalainen@peda.net>
CC: www-style@w3.org

Mikko Rantalainen wrote:
> Perhaps the spec should forget about using ":enabled". The current spec says
> 	"The :enabled pseudo-class represents user interface
> 	elements that are in an enabled state; such elements
> 	have a corresponding disabled state."
> 
> I consider the words "user interace" as the most important part of that
> definition. As such, I'd specify ":interactive" as any content that
> behaves like some kind of interactive element (e.g. control interface)
> regardless of its current state (disabled or not).

There is a subtle definitional difference here.  For example <a 
href="..."> would match your definition of :interactive but does NOT 
match the current definition of :enabled (on purpose).

-Boris
Received on Friday, 7 November 2008 13:21:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:16 GMT