ltoussaint / fizzler

Automatically exported from code.google.com/p/fizzler
GNU General Public License v3.0
0 stars 0 forks source link

Support negation pseudo-class selector #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by azizatif on 14 May 2009 at 11:51