Attribute Selectors with no match

The is a test page for negation pseudo-class selectors. If the lines below are grey, blue, red and green then this browser can be tested.

Not Supported

.attribute[class] p - No Match - Correct

Match - Incorrect

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

Attribute presence and values selectors CSS2

p.test2[class="test"]

p.test3[class="test3"] class="test3 x"

p.test5-x[class="test5"] class="test5-x"

p.test9[class=""]

p.test21[class~="test21 x"] class="test21 x y"

p.test23[class~=""] class="test23 x y"

p.test32-x[class|="x"] class="test32-x"

p.test37-x[class|=""] class="test37-x"

Support of Selectors
SelectorGecko 1.7~1.9Opera 9.2Opera 9.5bSafari 3.1bIE 7~8biCabKonqueror
6.3.1. Attribute presence and values selectors OKBOKOKOK??

Substring matching attribute selectors CSS3

p.test52[class^="tes"] class="x test52"

p.test62[class$="st62"] class="test62 x"

Support of Selectors
SelectorGecko 1.7~1.9Opera 7.5~8.5Opera 9.0~9.5bSafari 3.1bIE 7~8biCabKonqueror
6.3.2. Substring matching attribute selectorsOKNOKOKOK??

Other test with Selectors

References and other links

  1. CSS selectors: basic browser support
  2. CSS3 Selectors Test Suite Index