Structural pseudo-classes with the negation pseudo-class

The is a test page for negation pseudo-class selectors. If there is a green line below then this browser supports the Negation pseudo-class along with Structural pseudo-classes.

Not Supported

Supported and with a match

Note: This test page is still incomplete and under review and testing.

021 p.test32:not(:root)

021 p.test52:not(:only-child) - filter Gecko 1.7 and 1.9 Safari 3.0.4 (beta)

021 p.test53:not(:only-of-type) - no support?


021 p.test55:not(:last-child) - filter Safari 3.0.4 (beta)

021 p.test56:not(:first-child)


021 p.test60:not(:last-of-type) - no support?

021 p.test61:not(:first-of-type) - filter Gecko 1.7, 1.8 & 1.9

021 p.test80:not(:empty)

Support of Selectors
SelectorGecko 1.7Gecko 1.8~1.9Opera 9.2Opera 9.5bSafari 3.0Safari 3.1IE 7~8biCabKonqueror
* Does not support only-child.
6.6.7. The negation pseudo-class OKOKNOKOKOKNNOK
6.6.5. Structural pseudo-classes P *PPOKPOKP??

Other test with Selectors

References

  1. CSS selectors: basic browser support
  2. CSS contents and browser compatibility
  3. CSS3 Selectors Test Suite Index

Thanks

  1. Philippe Wittenbergh for checking and helping me with specificity issues