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

Re: [selectors4] Requested selectors

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 30 Aug 2012 17:23:33 -0700
Message-ID: <CAAWBYDD5Jtr5rPbUEXftmL-xfJnq9esXBnUd=LM_pT_0G5hBuQ@mail.gmail.com>
To: "Belov, Charles" <Charles.Belov@sfmta.com>
Cc: "www-style@w3.org" <www-style@w3.org>, fantasai <fantasai.lists@inkedblade.net>
On Thu, Aug 30, 2012 at 5:02 PM, Belov, Charles <Charles.Belov@sfmta.com> wrote:
> I respectfully suggest the following selectors (and apologize if they've already been suggested and rejected):
>
> E:foreign-link(0)       an E element being the source anchor of a hyperlink of which the target is not within the current domain        The foreign link pseudo-class   4
>
> Question as to distinguishing between same (a) domain, different subdomain and (b) different domain.

Already in the draft!  Look at the :local-link pseudoclass.  (To get
:foreign-link behavior, just use it with :not().)

~TJ
Received on Friday, 31 August 2012 00:24:20 GMT

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