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 Attribute selectors.
Not Supported
Filter
Match
Note: This test page is still incomplete and under review and testing.
p.test2:not([class="testx"])
p.test3:not([class="test3"]) class="test3 x"
p.test5-x:not([class="test5"]) class="test5-x"
p.test9:not([class=""])
p.test21:not([class~="test21 x"]) class="test21 x y"
p.test32-x:not([class|="x"]) class="test32-x"
| Selector | Gecko 1.7~1.9 | Opera 9.2 | Opera 9.5b | Safari 3.1b | IE 7~8b | iCab | Konqueror |
|---|---|---|---|---|---|---|---|
| 6.3.1. Attribute presence and values selectors | OK | B | OK | OK | OK | ? | ? |
| 6.6.7. The negation pseudo-class | OK | N | OK | OK | N | N | OK |
p.test52:not([class^="tes"]) class="x test52"
p.test62:not([class$="st62"]) class="test62 x"
| Selector | Gecko 1.7~1.9 | Opera 9.2 | Opera 9.5b | Safari 3.1b | IE 7~8b | iCab | Konqueror |
|---|---|---|---|---|---|---|---|
| 6.3.2. Substring matching attribute selectors | OK | N | OK | OK | OK | ? | ? |
| 6.6.7. The negation pseudo-class | OK | N | OK | OK | N | N | OK |