<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-168a.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>:before with ::before</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-169.xml">:after with ::after</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-168.xml">:before with ::before</data> </item>
  <item> <name>Test #</name> <data>258 of 296</data> </item>
  <item> <name>Testing</name> <data>:before with ::before</data> </item>
  <item> <name>ID</name> <data>168a</data> </item>
  <item> <name>Date</name> <data>2001-01-01</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
  <content>
   <p xmlns="http://www.w3.org/1999/xhtml">This test has <span></span>.</p>
   <p xmlns="http://www.w3.org/1999/xhtml">(If the previous line just reads &quot;This test has .&quot; then this test has failed.)</p>  
</content>
  <source>
   <css>
  span::before { background-color: red; content: &#39;FAILED&#39;; }
  span:before { background-color: lime; content: &#39;PASSED&#39;; }
</css>
   <xml>
   &lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;This test has &lt;span&gt;&lt;/span&gt;.&lt;/p&gt;
   &lt;p xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;(If the previous line just reads &amp;quot;This test has .&amp;quot; then this test has failed.)&lt;/p&gt;  
</xml>
  </source>
</test>