blob: fbb0f06a69828fd85ed8a79224320c3e43d57718 [file] [log] [blame]
<csstest def=":contains() pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="84b" 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 }
div.stub *:contains("agree") { background-color : red }</cssrules>
<code>
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
<p class="green">This paragraph should have a green background.</p>
<ul class="green">
<li>This list should also have a</li>
<li>green background throughout.</li>
</ul>
</div>
</code>
</csstest>