| <csstest def="NEGATED More than one class selector" module="W3C Selectors" modulename="css3-modsel" number="14e" rev="1.0" date="6-december-2002" 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>Ian Hickson</author> |
| |
| <cssrules> |
| p { background: green; color: white; } |
| p:not(.t1):not(.t2) { background: red; color: yellow; } |
| div { background: red; color: yellow; } |
| div:not(.t1) { background: green; color: white; } |
| address { background: green; color: white; } |
| address:not(.t5):not(.t5) { background: red; color: yellow; } |
| </cssrules> |
| |
| <code> |
| <p class="t1 t2" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</p> |
| <div class="t3" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</div> |
| <address class="t4 t5 t6" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</address> |
| </code> |
| |
| </csstest> |