Class NegationPseudoClassSelector


public class NegationPseudoClassSelector extends FunctionPseudoClassSelector
Implements the negation pseudo-class selector.

The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument.

Negations may not be nested; :not(:not(...)) is invalid. Note also that since pseudo-elements are not simple selectors, they are not a valid argument to :not().

See negation pseudo-class.