Re: NodeSelector, :visited, and :link

On 8/22/10, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 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>).
>
What's the consequences of MUST'ing this into the spec?

Garrett

Received on Monday, 23 August 2010 02:02:42 UTC