Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug with a:link pseudo class in FF Win/Mac

7 views
Skip to first unread message

Torsten

unread,
Nov 13, 2009, 6:00:07 AM11/13/09
to
Hi, while coding up a recent project I noticed some strange behavior
in Firefox (3.5.5 OS X / 3.5.7 Win).

Not all links receive the pseudo class a:link.

Setting a css property in the following way:
a {cursor: default;}
a:link {cursor:pointer;}

The Goal was to have Anchors not display the "Hand" cursor while
Hyperlinks should display it.

This results in random display of the "Hand" cursor for links. I can't
see any pattern in this. Absolute and relative urls show this
behavior.

Even a link to the same page with just a different hash results in
different display.

I don't know if anyone has experienced a similar problem or if this is
a known bug. A quick search didn't turn out anything.

Regards, Torsten

L. David Baron

unread,
Nov 13, 2009, 12:16:14 PM11/13/09
to Torsten, dev-te...@lists.mozilla.org
On Friday 2009-11-13 03:00 -0800, Torsten wrote:
> Not all links receive the pseudo class a:link.

Visited links match :visited rather than :link.

-David

--
L. David Baron http://dbaron.org/
Mozilla Corporation http://www.mozilla.com/

Torsten M. Walter

unread,
Nov 16, 2009, 10:06:30 AM11/16/09
to
Hi David,

thanks a lot, that explains it indeed...

> Visited links match :visited rather than :link.

Just to clarify. Visited links don't match :link at all? Wouldn't it
be just like overriding certain styles with :visited?

0 new messages