- From: Ernest Cline <ernestcline@mindspring.com>
- Date: Thu, 11 Mar 2004 11:01:27 -0500
- To: "Anne van Kesteren (fora)" <fora@annevankesteren.nl>, "Boris Zbarsky" <bzbarsky@MIT.EDU>, www-style@w3.org
> [Original Message]
> From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
>
> 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?
But once it created those links, the selector :not(:link) no longer
applies to those elements which means that the links should be
undone, which means that the selectors applies which means....
So either you get a logical contradiction or an endless cycle.
That was presumably the alarum that was sounded.
Received on Thursday, 11 March 2004 11:01:28 UTC