| <csstest def="NEGATED :only-of-type pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="82" 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>.red { background-color : red } |
| .t1 *:not(:only-of-type) { background-color : lime } |
| </cssrules> |
| <code> |
| <div class="t1" xmlns="http://www.w3.org/1999/xhtml"> |
| <p class="red">This paragraph should have green background.</p> |
| <address>But this address should be unstyled.</address> |
| <p class="red">This paragraph should have green background.</p> |
| </div> |
| </code> |
| </csstest> |