blob: 388a7e0dbd526740efbfb6691c3ba4e4fc265e87 [file] [log] [blame]
<csstest def="NEGATED :only-of-type pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="82b" rev="1.1" date="12-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">
<author>Daniel Glazman</author>
<author>Ian Hickson</author>
<cssrules>.green { background-color : lime ! important }
.t1 *:not(:only-of-type) { background-color : red }
</cssrules>
<code>
<div class="t1" xmlns="http://www.w3.org/1999/xhtml">
<p class="green">This paragraph should have green background.</p>
<address>But this address should be unstyled.</address>
<p class="green">This paragraph should have green background.</p>
</div>
</code>
</csstest>