- From: Tonico Strasser <tonico@hotpop.com>
- Date: Tue, 27 Jul 2004 15:11:21 +0200
- To: Anne van Kesteren <fora@annevankesteren.nl>
- Cc: W3C CSS List <www-style@w3.org>
Anne van Kesteren wrote: > > 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. > CSS is not for HTML only. Maybe there is something about active elements in the HTML specs. Tonico
Received on Tuesday, 27 July 2004 08:55:59 UTC