W3C home > Mailing lists > Public > www-style@w3.org > July 2004

[css3-selectors] May ':active' be applied to "normal" elements or not?

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Tue, 27 Jul 2004 09:59:11 +0200
Message-ID: <41060B4F.3070805@annevankesteren.nl>
To: W3C CSS List <www-style@w3.org>

I believe that most browsers have ':active' implemented in a way that it 
can be applied to every element, as in:


In Bugzilla a bug was reported[1] about a CSS3 test case[2], which 
indicates that ':active' is probably only meant for form and hyperlink 
elements, as in INPUT, A, LINK, AREA, BUTTON and probably more.

The CSS3 selector specification however, doesn't mention this explicitly[3]:

# The :active pseudo-class applies while an element is being activated
# by the user. For example, between the times the user presses the mouse
# button and releases it.

Can someone clarify this issue perhaps?


  Anne van Kesteren
Received on Tuesday, 27 July 2004 03:59:52 GMT

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