Re: Why no Parent Selector?

--- Daniel Glazman <>
> I think that you'll be happy reading the
> W3C Selectors
> Working Draft [1]. It introduces the :subject
> selector. So selecting a
> P that contains a DEL is written
> 	P:subject > DEL
> [1]

This isn't very well signposted, I missed it on
skim-reading the module twice, and probably wouldn't
have re-suggested :contains() if I'd noticed it.

More importantly, I would like to know how it is
proposed to select an element that does _not_ contain
an element, e.g., P that does not contain DEL?

From Matthew Brealey ( (for law)or (for CSS))
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping:

Received on Tuesday, 30 November 1999 11:21:52 UTC