css3-modsel-123.xml (1039B)
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(|*) { color : green } 10 ]]></style> 11 <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/> 12 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 13 <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found --> 14 <meta name="flags" content=" namespace" /> 15 </head> 16 <body> 17 <div class="stub"> 18 <address>This address should be in green characters.</address> 19 <s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s> 20 <u xmlns="http://www.example.org/a">This paragraph should be in green characters.</u> 21 </div> 22 23 </body> 24 </html>