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

Re: a:hover and a:active and named anchors

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 30 Jul 2002 20:15:54 +0200
Message-ID: <3D46D7DA.9050705@hixie.ch>
To: Stuart Ballard <sballard@netreach.com>
Cc: Jerry Baker <jerrybaker@attbi.com>, www-style@w3.org

Stuart Ballard wrote:
> 
> We're asking developers to go from the familiar:
> 
> a:hover { ... }
> 
> To:
> 
> :link:hover, :visited:hover { ... }
> 
 > [...]

Note that while in HTML, a:hover may give the impression of working, it in fact 
fails when the language you are using (e.g. XLink) doesn't use <a> as the 
element for links.

Unless you are proposing that the element type "a" be a magical shortcut for 
":link, :visited"...

Mozilla has the extension pseudo-class :-moz-any-link. Maybe CSS could have such 
a pseudo-class introduced.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 30 July 2002 14:20:55 GMT

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