mirror of
https://github.com/servo/servo.git
synced 2025-10-17 08:49:21 +01:00
17 lines
727 B
XML
17 lines
727 B
XML
<csstest def="NEGATED :link pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="61" rev="1.1" date="01-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>
|
|
|
|
<historyneeded/>
|
|
|
|
<cssrules>div.stub > * { background-color : red }
|
|
div.stub *:not(:link) { background-color : lime }
|
|
</cssrules>
|
|
<code>
|
|
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
|
|
<a href="http://www.w3.org/">This anchor should have a green background</a>
|
|
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
|
|
</div>
|
|
</code>
|
|
</csstest>
|