<?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>Case sensitivity</title>
  <meta name="author" content="Ian Hickson"/>
  <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"><![CDATA[
 .cs { color: green; }
 .cs P { background: red; color: yellow; }
 .cs .a { background: red; color: yellow; }
 .cs .span1 span { background: red; color: yellow; }
 .cs .span2 { color: red; }
 .cs .span2 SPAN { color: green; }
 .cs .span2 span { background: red; color: yellow; }
 .ci { color: red; }
 .ci P { background: green; color: white; }
 .ci .a { background: green; color: white; }
 .ci .span1 span { background: green; color: white; }
 .ci .span2 SPAN { background: green; color: white; }
]]></style>
  <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
  <link rel="prev" href="css3-modsel-180a.xml" title="::first-letter after &lt;br&gt;"/>
  <link rel="next" href="css3-modsel-182.xml" title="Namespaces and \: in selectors"/>
  <link rel="last" href="css3-modsel-184f.xml" title="NEGATED contains attribute selector with empty value"/>
  <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-180a.xml" title="::first-letter after &lt;br&gt;">&lt;==</a>
     Test #
     <a href="css3-modsel-182.xml" title="Namespaces and \: in selectors">==&gt;</a>
    </th>
   </tr>
   <tr>
    <td class="b">W3C Selectors</td>
    <td class="c" colspan="2">268 of 276 of the static 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">Case sensitivity (ID #181)</td>
    <td class="a">2004-03-01</td>
    <td class="a">1.0</td>
   </tr>
  </table>
  <div class="testSource">
   <div class="testText">
<div>

 <div class="cs">
   <p>This line should be green.</p>
   <p class="A">This line should be green.</p>
   <p class="span1"><SPAN>This line should be green.</SPAN></p>
   <p class="span2"><SPAN>This line should be green.</SPAN></p>
 </div>


</div>
</div>
   <pre class="rules">
 .cs { color: green; }
 .cs P { background: red; color: yellow; }
 .cs .a { background: red; color: yellow; }
 .cs .span1 span { background: red; color: yellow; }
 .cs .span2 { color: red; }
 .cs .span2 SPAN { color: green; }
 .cs .span2 span { background: red; color: yellow; }
 .ci { color: red; }
 .ci P { background: green; color: white; }
 .ci .a { background: green; color: white; }
 .ci .span1 span { background: green; color: white; }
 .ci .span2 SPAN { background: green; color: white; }
</pre>
   <pre class="rules">
&lt;div&gt;

 &lt;div class=&quot;cs&quot;&gt;
   &lt;p&gt;This line should be green.&lt;/p&gt;
   &lt;p class=&quot;A&quot;&gt;This line should be green.&lt;/p&gt;
   &lt;p class=&quot;span1&quot;&gt;&lt;SPAN&gt;This line should be green.&lt;/SPAN&gt;&lt;/p&gt;
   &lt;p class=&quot;span2&quot;&gt;&lt;SPAN&gt;This line should be green.&lt;/SPAN&gt;&lt;/p&gt;
 &lt;/div&gt;


&lt;/div&gt;
</pre>
  </div>
 </body>
</html>