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

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