<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-45c.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Direct adjacent combinator and classes</title>
 <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-46.xml">Indirect adjacent combinator</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-45b.xml">Direct adjacent combinator</data> </item>
  <item> <name>Test #</name> <data>53 of 256 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>Direct adjacent combinator and classes</data> </item>
  <item> <name>ID</name> <data>45c</data> </item>
  <item> <name>Date</name> <data>21-november-2001</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
  <content>
  <div xmlns="http://www.w3.org/1999/xhtml"> This should be unstyled. </div>
  <div xmlns="http://www.w3.org/1999/xhtml" class="control"> This should have a green background. </div>
</content>
  <source>
   <css>
  .fail + div { background: red; }
  .control { background: green; }
</css>
   <xml>
  &lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt; This should be unstyled. &lt;/div&gt;
  &lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;control&quot;&gt; This should have a green background. &lt;/div&gt;
</xml>
  </source>
</test>