blob: 8453553fb9b37de031f2dd7ba0c68c4f286a6a87 [file] [log] [blame]
<csstest def="Descendant combinator" module="W3C Selectors" modulename="css3-modsel" number="43" rev="1.1" date="05-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>.white { background-color: transparent ! important; }
.red { background-color: red; }
div.t1 p { background-color: lime; }</cssrules>
<code>
<div class="t1" xmlns="http://www.w3.org/1999/xhtml">
<p class="red">This paragraph should have a green background</p>
<table>
<tbody>
<tr>
<td>
<p class="red">This paragraph should have a green background</p>
</td>
</tr>
</tbody>
</table>
</div>
<table xmlns="http://www.w3.org/1999/xhtml">
<tbody>
<tr>
<td>
<p class="white">This paragraph should be unstyled.</p>
</td>
</tr>
</tbody>
</table>
</code>
</csstest>