<?xml-stylesheet href="../../../style/xhtml-full.css" type="text/css"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>NEGATED :target pseudo-class</title>
  <meta name="author" content="Daniel Glazman"/>
  <link rel="stylesheet" type="text/css" href="../../../style/xhtml-full.css"/> <!-- yes this means compliant UAs get to import this twice -->
  <style type="text/css">p:not(:target) { background-color : lime }</style>
  <link rel="first" href="css3-modsel-18.xml" title=":hover pseudo-class"/>
  <link rel="prev" href="css3-modsel-65.xml" title="NEGATED :focus pseudo-class"/>
  <link rel="up" href="./index.html"/>
  <link rel="top" href="../../../index.html"/>
 </head>
 <body>
  <table class="testDescription">
   <tr>
    <th class="b">CSS 3 Module</th> <!-- XXX hard coded to say CSS 3 -->
    <th class="c" colspan="2">
     <a href="css3-modsel-65.xml" title="NEGATED :focus pseudo-class">&lt;==</a>
     Test #
     ==&gt;
    </th>
   </tr>
   <tr>
    <td class="b">W3C Selectors</td>
    <td class="c" colspan="2">9 of 9 of the interactive tests category</td>
   </tr>
   <tr>
    <th class="b">Testing</th>
    <th class="a">Date</th>
    <th class="a">Revision</th>
   </tr>
   <tr>
    <td class="b">NEGATED :target pseudo-class (ID #66)</td>
    <td class="a">11-july-2001</td>
    <td class="a">1.0</td>
   </tr>
  </table>
  <div class="testSource">
   <div class="testText" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml">
<p id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click <a href="#second">****here****</a>.</p>
<p id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="#third">****here****</a>, it becomes green again and the
       background of the paragraph below becomes white.</p>
<p id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       <a href="css3-modsel-120.xml">****here****</a>, the three paragraph
       have green background again.</p>
</div>
   <pre class="rules">p:not(:target) { background-color : lime }</pre>
   <pre class="rules">
&lt;p id="first">The background of this paragraph should be initially green.
       The background of the paragraph just below should become white when
       you click &lt;a href="#second">****here****&lt;/a>.&lt;/p>
&lt;p id="second">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="#third">****here****&lt;/a>, it becomes green again and the
       background of the paragraph below becomes white.&lt;/p>
&lt;p id="third">The background of this paragraph should be initially green.
       It becomes white when you click on the link above. When you click
       &lt;a href="css3-modsel-120.xml">****here****&lt;/a>, the three paragraph
       have green background again.&lt;/p>
</pre>
  </div>
 </body>
</html>