<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-61.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED :link pseudo-class</title>
 <author>Daniel Glazman</author>
 <author>Ian Hickson</author>
 <metadata>
  <item> <name>CSS 3 Module</name> <data>W3C Selectors</data> </item>
  <item> <name>Next</name> <data xlink:type="simple" xlink:href="css3-modsel-62.xml">NEGATED :visited pseudo-class</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-17.xml">:visited pseudo-class</data> </item>
  <item> <name>Test #</name> <data>3 of 4 of the history-related tests category</data> </item>
  <item> <name>Testing</name> <data>NEGATED :link pseudo-class</data> </item>
  <item> <name>ID</name> <data>61</data> </item>
  <item> <name>Date</name> <data>2001-11-01</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
   <requirement>The UA must support the concept of a session history for this test.</requirement>
  <content>
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<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>
</content>
  <source>
   <css>div.stub &gt; * { background-color : red }
div.stub *:not(:link) { background-color : lime }
</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;stub&quot;&gt;
&lt;a href=&quot;http://www.w3.org/&quot;&gt;This anchor should have a green background&lt;/a&gt;
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/div&gt;
</xml>
  </source>
</test>