W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2004

Re: reverse nested selectors

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 13 Jun 2004 14:37:47 +0200
To: gerard <w3c@rathersimple.com>
Cc: www-talk@w3.org
Message-ID: <40ce49b4.944910148@smtp.bjoern.hoehrmann.de>

* gerard wrote:
>I'd like so suggest that an operator to reverse the matching order of  
>selectors could be a very useful thing.

Gerard, a better place for such suggestions would be the www-style
mailing list, I would suggest you post your message there. However,
this particular functionality, even though slightly more flexible,
has been proposed long ago for css3-selectors, see


for the :subject pseudo-class, you would use it like

><div class="ColorBackground>
>	<img class="AlphaImage">
>If one wanted to select any <div> that contained an image with class  
>"AlphaImage", there is no way to do so.

div:subject img.AlphaImage. However, the feature was dropped from the
draft due to implementation concerns which I assume equally apply to
your proposal. I would also suggest to search the list archives as
there are a number of proposals with similar functionality.

Received on Sunday, 13 June 2004 08:38:22 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:28 UTC