W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

Re: [selectors-api] Handling :link and :visited Pseudo Classes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 16 Apr 2008 09:59:20 -0500
Message-ID: <48061448.1080904@mit.edu>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: public-webapi <public-webapi@w3.org>

Bjoern Hoehrmann wrote:
> I don't understand what you mean by ignored, could you elaborate?

http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=ie8whitepapers&ReleaseId=574 
says:

   when a selector contains the pseudo-class :visited or :link,
   the browser ignores that selector while processing the query.
   When a group of selectors is provided, only those with the
   :visited or :link pseudo-class are ignored.

and gives the example:

   // The second selector in this group of selectors will
   // be rejected, the first and the third selector will
   // continue to apply.
   document.querySelectorAll("two, a:link, .myClass");

So it sounds to me like neither :link nor :visited match anything.  But someone 
who actually has the beta (or can look at the code, of course) should check: the 
white-paper is vague enough it could mean other things too, and IE8b1 doesn't 
always match the white-papers.

-Boris
Received on Wednesday, 16 April 2008 15:00:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 April 2008 15:00:07 GMT