css3-modsel-51.xml (881B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <title>NEGATED attribute value selector</title> 4 <style type="text/css"><![CDATA[@namespace a url(http://www.example.org/a); 5 div.stub > p {color : red } 6 div.stub > a|* { color : red ; display : block ; margin-bottom : 1em } 7 div.stub *|*:not([test="1"]) { color : lime }]]></style> 8 <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/> 9 <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found --> 10 <meta name="flags" content=" namespace" /> 11 </head> 12 <body> 13 <div class="stub"> 14 <q xmlns="http://www.example.org/a" test="1"> 15 <r test="11">This text should be</r> 16 <r>in green characters</r> 17 </q> 18 <s xmlns="http://www.example.org/a">This text should be in green characters</s> 19 <p>This text should be in green characters</p> 20 </div> 21 </body> 22 </html>