<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-150.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>:empty pseudo-class and XML/SGML constructs</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-151.xml">:empty pseudo-class and whitespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-149b.xml">:empty pseudo-class and empty elements</data> </item>
  <item> <name>Test #</name> <data>223 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>:empty pseudo-class and XML/SGML constructs</data> </item>
  <item> <name>ID</name> <data>150</data> </item>
  <item> <name>Date</name> <data>2004-04-24</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
  <content>
 <address xmlns="http://www.w3.org/1999/xhtml"><!-- --><?test random PI?></address>
 <div xmlns="http://www.w3.org/1999/xhtml" class="text">This line should have a green background.</div>
 <p xmlns="http://www.w3.org/1999/xhtml">(Note: This test is based on unpublished errata.)</p>
</content>
  <source>
   <css>
 address:empty { background: lime; }
 address { background: red; margin: 0; height: 1em; }
 .text { margin: -1em 0 0 0; }
</css>
   <xml>
 &lt;address xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;!-- --&gt;&lt;?test random PI?&gt;&lt;/address&gt;
 &lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;text&quot;&gt;This line should have a green background.&lt;/div&gt;
 &lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;(Note: This test is based on unpublished errata.)&lt;/p&gt;
</xml>
  </source>
</test>