css3-modsel-49.xml (1191B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <title>NEGATED omitted universal selector is forbidden</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 > *|* { background-color : lime ; display : block ; 8 margin-bottom : 1em } 9 div.stub > *|*:not() { background-color : red } 10 /* yes, the rule just above selects nothing... That's the point */ 11 ]]></style> 12 <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/> 13 <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found --> 14 <link rel="match" href="reference/this-address-p-p-p-lime-background.xht"/> 15 <meta name="flags" content=" namespace" /> 16 </head> 17 <body> 18 <div class="stub"> 19 <address>This address should have a green background</address> 20 <s xmlns="http://www.example.org/b">This paragraph should have a green background</s> 21 <t xmlns="">This paragraph should have a green background</t> 22 <u xmlns="http://www.example.org/a">This paragraph should have a green background</u> 23 </div> 24 </body> 25 </html>