css3-modsel-96.xml (1191B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <title>Universal selector without declared namespace</title> 4 <style type="text/css"><![CDATA[@namespace a url(http://www.example.org/a); 5 @namespace b url(http://www.example.org/b); 6 div.green * { background-color : red } 7 div.test * { display : block ; margin-bottom : 1em } 8 div.test |* { background-color : lime }]]></style> 9 <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/> 10 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 11 <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found --> 12 <meta name="flags" content=" namespace" /> 13 </head> 14 <body> 15 <div class="test"> 16 <p>This line should be unstyled.</p> 17 <elementA xmlns="http://www.example.org/a">This line should be unstyled.</elementA> 18 <elementB xmlns="http://www.example.org/b">This line should be unstyled.</elementB> 19 <div class="green"> 20 <p xmlns="">This line should have a green background</p> 21 <elementA xmlns="">This line should have a green background</elementA> 22 <elementB xmlns="">This line should have a green background</elementB> 23 </div> 24 </div> 25 </body> 26 </html>