<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-17.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>:visited 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-61.xml">NEGATED :link pseudo-class</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-16.xml">:link pseudo-class</data> </item>
  <item> <name>Test #</name> <data>2 of 4 of the history-related tests category</data> </item>
  <item> <name>Testing</name> <data>:visited pseudo-class</data> </item>
  <item> <name>ID</name> <data>17</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>
<p xmlns="http://www.w3.org/1999/xhtml" class="test">
<a href="http://www.w3.org/">You should see a green background assigned by the anchor.</a>
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
</p>
</content>
  <source>
   <css>p.test a { background-color : red }
p.test *:visited { background-color : lime }</css>
   <xml>
&lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;test&quot;&gt;
&lt;a href=&quot;http://www.w3.org/&quot;&gt;You should see a green background assigned by the anchor.&lt;/a&gt;
(Note: You must have visited http://www.w3.org/ for this test to be valid.)
&lt;/p&gt;
</xml>
  </source>
</test>