Structural pseudo-classes

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

Match

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

html:root p.test01 - supported by Gecko 1.7, 1.8 & 1.9, Safari 3.0.4 (beta) and Konqueror


p.test10:nth-child(1) - supported by Opera 9.5 & Konqueror

p.test11:nth-child(2) - supported by Opera 9.5 & Konqueror


.test20 p:nth-child(3n+1) - supported by Opera 9.5 & Konqueror

p.test13:nth-child(4n+2) - supported by Opera 9.5 & Konqueror

.test20 p:nth-child(3n+3) - supported by Opera 9.5 & Konqueror

.test20 p:nth-child(3n+1) - supported by Opera 9.5 & Konqueror


p.test10:nth-child(1) - supported by Opera 9.5 & Konqueror

p.test11:nth-child(2) - supported by Opera 9.5 & Konqueror


p.test40:first-child - supported by Konqueror

p.test41:last-child - supported by Gecko 1.7, 1.8 & 1.9 and Konqueror


p.test50:first-of-type - supported by Safari 3.0.4 (beta) and Konqueror

p.test51:last-of-type - no support?

p.test60:only-child - supported by Gecko 1.8 & 1.9 and Konqueror

p.test70:only-of-type - supported by Konqueror

The above test has p.test36:empty - supported by Konqueror

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.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