W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: [css3-selectors] :parent selector

From: Alastair Campbell <ac@alastc.com>
Date: Wed, 27 Sep 2006 22:27:10 +0100
Message-ID: <451AECAE.3010703@alastc.com>
To: Anne van Kesteren <annevk@opera.com>
CC: www-style@w3.org

Anne van Kesteren wrote:
> Wouldn't work for things like "see the <a><code>a</code> element</a>".

Fair enough, have there been any agreeable proposals for covering "any 
link which does not contain an image", or "any link that only contains 

As you can see, the external link highlighting works well on text, but 
not  images:

That site uses:
a[href$=".pdf"] {...}

But without being able to identify a link that doesn't contain an image, 
referring back up the tree, or selecting the text-node within a link, it 
doesn't seem possible.

Is this not possible without using JavaScript?

Kind regards,

Received on Wednesday, 27 September 2006 21:35:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:26 UTC