Re: [css3-hyperlinks] inclusion of Clink in next WD

Boris Zbarsky wrote:

>(although
>
>  :not(:link) { link: url(foo); }
>
>does trigger alarm bells)
>
I wonder why (probably because I don't know that much about how a UA 
processes a style sheet).

It would select every element that currently isn't a link. Then it tries 
to create a link using

 link:url(foo);

If attribute "foo" contains a valid URI, the link is created and the 
selector doesn't apply anymore. If attribute "foo" contains an invalid 
URI... was that your issue?


-- 
 Anne van Kesteren
 <http://annevankesteren.nl/>

Received on Thursday, 11 March 2004 10:41:12 UTC