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

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

   p:active{
    color:#000;
    background:#ddd;
   }

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?


[1]<http://bugzilla.mozilla.org/show_bug.cgi?id=243459>
[2]<http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/full/flat/css3-modsel-19a.html>
[3]<http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#useraction-pseudos>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Tuesday, 27 July 2004 03:59:52 UTC