>> 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
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:07 UTC