| <csstest def="Universal selector without declared namespace" module="W3C Selectors" modulename="css3-modsel" number="96b" rev="1.1" date="12-november-2001" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Daniel Glazman</author> |
| <author>Ian Hickson</author> |
| |
| <cssrules>@namespace a url(http://www.example.org/a); |
| @namespace b url(http://www.example.org/b); |
| div.green * { background-color : lime ! important } |
| div.test * { display : block ; margin-bottom : 1em } |
| div.test |* { background-color : red }</cssrules> |
| |
| <code> |
| <div class="test" xmlns="http://www.w3.org/1999/xhtml"> |
| <p>This line should be unstyled.</p> |
| <elementA xmlns="http://www.example.org/a">This line should be unstyled.</elementa> |
| <elementB xmlns="http://www.example.org/b">This line should be unstyled.</elementb> |
| <div class="green"> |
| <p xmlns="">This line should have a green background</p> |
| <elementA xmlns="">This line should have a green background</elementa> |
| <elementB xmlns="">This line should have a green background</elementb> |
| </div> |
| </div> |
| </code> |
| </csstest> |