<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-44.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Child combinator</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-44b.xml">Child combinator</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-43b.xml">Descendant combinator</data> </item>
  <item> <name>Test #</name> <data>65 of 296</data> </item>
  <item> <name>Testing</name> <data>Child combinator</data> </item>
  <item> <name>ID</name> <data>44</data> </item>
  <item> <name>Date</name> <data>2004-02-29</data> </item>
  <item> <name>Revision</name> <data>1.2</data> </item>
 </metadata>
  <content>
 <div xmlns="http://www.w3.org/1999/xhtml">
  <p class="red test">This paragraph should have a green background</p>
  <div>
   <p class="red test">This paragraph should have a green background</p>
  </div>
 </div>
 <table xmlns="http://www.w3.org/1999/xhtml">
  <tbody>
   <tr>
    <td>
     <p class="white test">This paragraph should be unstyled.</p>
    </td>
   </tr>
  </tbody>
 </table>
</content>
  <source>
   <css>.white { background-color: transparent ! important; }
.red { background-color: red; }
div &gt; p.test { background-color: lime; }</css>
   <xml>
 &lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;p class=&quot;red test&quot;&gt;This paragraph should have a green background&lt;/p&gt;
  &lt;div&gt;
   &lt;p class=&quot;red test&quot;&gt;This paragraph should have a green background&lt;/p&gt;
  &lt;/div&gt;
 &lt;/div&gt;
 &lt;table xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
  &lt;tbody&gt;
   &lt;tr&gt;
    &lt;td&gt;
     &lt;p class=&quot;white test&quot;&gt;This paragraph should be unstyled.&lt;/p&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/tbody&gt;
 &lt;/table&gt;
</xml>
  </source>
</test>