mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
20 lines
878 B
XML
20 lines
878 B
XML
<csstest def="NEGATED attribute value selector" module="W3C Selectors" modulename="css3-modsel" number="51" rev="1.0" date="11-july-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>
|
|
|
|
<cssrules>@namespace a url(http://www.example.org/a);
|
|
div.stub > p {color : red }
|
|
div.stub > a|* { color : red ; display : block ; margin-bottom : 1em }
|
|
div.stub *|*:not([test="1"]) { color : lime }</cssrules>
|
|
|
|
<code>
|
|
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
|
|
<q test="1" xmlns="http://www.example.org/a">
|
|
<r test="11">This text should be</r>
|
|
<r>in green characters</r>
|
|
</q>
|
|
<s xmlns="http://www.example.org/a">This text should be in green characters</s>
|
|
<p>This text should be in green characters</p>
|
|
</div>
|
|
</code>
|
|
</csstest>
|