| <csstest def="Multiple ID selectors" module="W3C Selectors" modulename="css3-modsel" number="15b" rev="1.1" date="29-may-2004" 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; } |
| #test#fail { background: red; color: yellow; } |
| #fail#test { background: red; color: yellow; } |
| #fail { background: red; color: yellow; } |
| div { background: red; color: yellow; } |
| #pass#pass { background: green; color: white; } |
| </cssrules> |
| |
| <code> |
| <p id="test" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</p> |
| <div id="pass" xmlns="http://www.w3.org/1999/xhtml">This line should be green.</div> |
| </code> |
| |
| </csstest> |