| <csstest def="Descendant combinator" module="W3C Selectors" modulename="css3-modsel" number="43b" 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; } |
| .green { background-color: lime; } |
| div.t1 p { background-color: red; }</cssrules> |
| <code> |
| <div class="t1" xmlns="http://www.w3.org/1999/xhtml"> |
| <p class="white">This paragraph should be unstyled</p> |
| <table> |
| <tbody> |
| <tr> |
| <td> |
| <p class="white">This paragraph should be unstyled</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <table xmlns="http://www.w3.org/1999/xhtml"> |
| <tbody> |
| <tr> |
| <td> |
| <p class="green">This paragraph should have a green background</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </code> |
| </csstest> |