W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: NodeSelector, :visited, and :link

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 22 Aug 2010 21:53:31 -0400
Message-ID: <4C71D49B.7070900@mit.edu>
To: Patrick Garies <pgaries@fastmail.us>
CC: Garrett Smith <dhtmlkitchen@gmail.com>, www-style <www-style@w3.org>
On 8/22/10 7:38 PM, Patrick Garies wrote:
> On 2010-08-18 9:45 PM, Garrett Smith wrote:
>> Do any browsers return just visited links for
>> document.querySelectorAll(":visited").
>
> Firefox 3.6 and Opera 10.6 do; they match links based on their
> visited/unvisited state including |link| element links.

Note that Firefox 4.0 will no longer do this; the NodeSelector methods 
will treat all links as unvisited.  The definition of "link" in this 
context is unaffected by this behavior change (so includes <html:a>, 
<html:link>, <html:area>, <svg:a>).

-Boris
Received on Monday, 23 August 2010 01:54:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT