css3-modsel-121.xml (1141B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <title>NEGATED universal selector with declared namespace</title> 4 <style type="text/css"><![CDATA[@namespace html url(http://www.w3.org/1999/xhtml); 5 @namespace a url(http://www.example.org/a); 6 @namespace b url(http://www.example.org/b); 7 div.stub > *|* { color : red ; display : block ; 8 margin-bottom : 1em } 9 div.stub > *|*:not(a|*) { color : green } 10 div.stub v { color : green } 11 ]]></style> 12 <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/> 13 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 14 <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found --> 15 <meta name="flags" content=" namespace" /> 16 </head> 17 <body> 18 <div class="stub"> 19 <address>This address should be in green characters.</address> 20 <s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s> 21 <t xmlns="">This paragraph should be in green characters.</t> 22 <u xmlns="http://www.example.org/a"> 23 <v>This paragraph should be in green characters.</v> 24 </u> 25 </div> 26 27 </body> 28 </html>