W3C home > Mailing lists > Public > www-style@w3.org > December 1999

Re: Why no Parent Selector?

From: Daniel Glazman <Daniel.Glazman@der.edfgdf.fr>
Date: Wed, 1 Dec 1999 12:03:51 +0100 (MET)
Message-Id: <199912011103.MAA24807@cli51ak.der.edf.fr>
To: thelawnet@yahoo.com (Matthew Brealey)
Cc: www-style@w3.org, Daniel.Glazman@der.edf.fr

> > 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] http://www.w3.org/TR/CSS3-selectors
> 
> 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.

Thanks for the feedback. I'll make sure that is more visible in the
next draft.

> 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?

There are no "negative" selectors. You have to use the cascade.

</Daniel>
Received on Wednesday, 1 December 1999 06:04:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:01 GMT