css3-modsel-94.xml (1021B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <title>Universal selector with 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 p, q { display : block ; margin-bottom : 1em } 7 b|* { background-color : lime }]]></style> 8 <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/> 9 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 10 <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found --> 11 <meta name="flags" content=" namespace" /> 12 </head> 13 <body> 14 <p>This line should be unstyled.</p> 15 <p xmlns="http://www.example.org/b">This line should have a green background.</p> 16 <q xmlns="http://www.example.org/b">This line should have a green background.</q> 17 <p xmlns="http://www.example.org/a">This line should be unstyleed.</p> 18 <p xmlns="http://www.example.org/b">This line should have a green background.</p> 19 </body> 20 </html>