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

Re: [selectors4] Requested selectors

From: Brian Kardell <bkardell@gmail.com>
Date: Thu, 30 Aug 2012 20:47:51 -0400
Message-ID: <CADC=+jd9ZSE0sYO7TRCaHZ=agVXxbnp-vXrbs6nutsHx1mGFuw@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "Belov, Charles" <Charles.Belov@sfmta.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Aug 30, 2012 8:25 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
>
> 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
>

Why even :not()   if you provide a default link style and then a special
style for :local-links .... aren't you covering both sets?
Received on Friday, 31 August 2012 00:48:19 GMT

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