W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [selectors4] Local-link, <base> and javascript

From: Simon Sapin <simon.sapin@exyr.org>
Date: Mon, 06 May 2013 23:54:41 +0200
Message-ID: <518826A1.3040505@exyr.org>
To: www-style@w3.org
Le 06/05/2013 23:42, François REMY a écrit :
>> When absolutized, they won't match the document url, whatever it is.
> Yet could we define :navigation-link and :action-link where :navigation-link
> matches (http(s) + data + ftp?) urls, and :action-link matches recognized
> action protocols (up to the browser) ?

Would this work?

   a:matches([href^="http:"], [href^="https:"], [href^="data:"])

(This easier than :local-link because independent of the document URL.)

-- 
Simon Sapin
Received on Monday, 6 May 2013 21:55:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:29 UTC