mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
18 lines
674 B
XML
18 lines
674 B
XML
<csstest def=":empty pseudo-class and CDATA" module="W3C Selectors" modulename="css3-modsel" number="153" rev="1.1" date="24-april-2004" xmlns="http://www.example.org/css3tests">
|
|
|
|
<author>Ian Hickson</author>
|
|
|
|
<cssrules>
|
|
address { background: red; margin: 0; height: 1em; display: block; }
|
|
address:empty { background: lime; }
|
|
.text { margin: -1em 0 0 0; }
|
|
</cssrules>
|
|
|
|
<code>
|
|
<address xmlns="http://tests.example.org/xml-only/"><![CDATA[]]></address>
|
|
<div class="text" xmlns="http://www.w3.org/1999/xhtml">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>
|
|
</code>
|
|
|
|
</csstest>
|