Previous Message
Next Message

Changes how (some) browsers handle the a:visited pseudo-class

Sent by Philippe Wittenbergh on 10 April 2010 01:01


(public service announcement)

Both the next release versions of Gecko (tentatively named Firefox 3.7) and WebKit (Safari 5) will
implement changes to the handling of the :visited pseudo-class. Google Chrome will, I suppose, also
implement this.

In short, those browsers will limit the ways the a:visited state can be styled. Color,
background-color, and to some extend, outline, border are not affected, as long as you don't use
alpha-transparency (rgba()), change the border-style or border-width, etc. Other changes will be
ignored and fall back to what is specified for the a:link state.

The underlying thinking is documented in this article:
http://dbaron.org/mozilla/visited-privacy
with some more details here:
http://hacks.mozilla.org/2010/03/privacy-related-changes-coming-to-css-vistited/
http://blog.mozilla.com/security/2010/03/31/plugging-the-css-history-leak/

Gecko bug report:
https://bugzilla.mozilla.org/show_bug.cgi?id=147777
WebKit bug report:
https://bugs.webkit.org/show_bug.cgi?id=24300
Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: