Re: Selectors Tests

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 UTC