css3-modsel-94b.xml (1090B)
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 : red } 8 [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 <p>This line should be unstyled.</p> 16 <p xmlns="http://www.example.org/b" test="test">This line should have a green background.</p> 17 <q xmlns="http://www.example.org/b" test="test">This line should have a green background.</q> 18 <p xmlns="http://www.example.org/a">This line should be unstyled.</p> 19 <p xmlns="http://www.example.org/b" test="test">This line should have a green background.</p> 20 </body> 21 </html>