atifaziz / Fizzler

.NET CSS Selector Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support negation pseudo-class selector

atifaziz opened this issue · comments

What new or enhanced feature are you proposing?

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

Examples:

The following selector matches all button elements in an HTML document that are not disabled.

button:not([DISABLED])

The following selector represents all but FOO elements.

*:not(FOO)

What goal would this enhancement help you achieve?

Greater CSS Selectors Level 3 compliance.

For more information, see:
http://www.w3.org/TR/css3-selectors/#negation


Originally reported on Google Code with ID 33

Reported by @atifaziz on 2009-05-14 23:51:39