Re: parent selectors

> In the current Working Draft, this is achieved using
> the :subject
> pseudo (I know, it's a bad syntax, but the idea is
> here).
> See [1].

I'd have to agree that it is a bad syntax.  I was
thinking that using the less than sign instead of the
greater than sign would work for such a situation...

i.e. span < div {}
selects a div that contains a span 
as opposed to the normal
div > span {}
which selects the span contained by a div.

This would likely require listing all selectors in
reverse order, i.e.

span * < p < div {}

instead of div:subject > p > * span

-Dylan Schiemann


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Received on Wednesday, 29 November 2000 14:08:21 UTC