The selector grammar [1] defines a simple_selector_sequence as follows: simple_selector_sequence : [ type_selector | universal ]? [ HASH | class | attrib | pseudo_class | negation ]+ | type_selector | universal ; However, negation is nowhere defined in the grammar. Likewise, the Selectors module prose does not mention a negative selector, only the negation pseudo-class, which only takes a simple selector. Is this an omission in the prose or a superfluous element in the grammar? Does a selector like not( DIV[test] > P ) exist, representing all elements but P elements which have a parent DIV with attribute test? Regards, Christian [1] <http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#grammar>Received on Tuesday, 24 August 2004 12:45:53 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT