mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<csstest def="NEGATED universal selector with declared namespace" module="W3C Selectors" modulename="css3-modsel" number="121" rev="1.1" date="13-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">
|
|
|
|
<author>Daniel Glazman</author>
|
|
<author>Ian Hickson</author>
|
|
|
|
<cssrules>@namespace html url(http://www.w3.org/1999/xhtml);
|
|
@namespace a url(http://www.example.org/a);
|
|
@namespace b url(http://www.example.org/b);
|
|
div.stub > *|* { color : red ; display : block ;
|
|
margin-bottom : 1em }
|
|
div.stub > *|*:not(a|*) { color : green }
|
|
div.stub v { color : green }
|
|
</cssrules>
|
|
|
|
<code>
|
|
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
|
|
<address>This address should be in green characters.</address>
|
|
<s xmlns="http://www.example.org/b">This paragraph should be in green characters.</s>
|
|
<t xmlns="">This paragraph should be in green characters.</t>
|
|
<u xmlns="http://www.example.org/a">
|
|
<v>This paragraph should be in green characters.</v>
|
|
</u>
|
|
</div>
|
|
|
|
</code>
|
|
</csstest>
|