- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Sat, 28 Aug 2004 12:07:09 +0200
- To: lachlan.hunt@lachy.id.au
- CC: Christian Roth <roth@visualclick.de>, www-style Mailing List <www-style@w3.org>
>> Does a selector like >> >> not( DIV[test] > P ) >> >> exist, representing all elements but P elements which have a parent DIV >> with attribute test? > > Yes, it's called the negation pseudo-class > http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#negation However, it can only contain a simple selector. It can not contain child selectors. (If :matches() will ever be accepted, :not() could probably be updated in the same fashion, which will probably allow the selector mentioned above.) -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Saturday, 28 August 2004 10:07:36 UTC