| <csstest def="Syntax and parsing" module="W3C Selectors" modulename="css3-modsel" number="155b" rev="1.0" date="27-november-2001" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Ian Hickson</author> |
| |
| <cssrules> |
| p { background: lime; } |
| .two\ words { background: red; } |
| |
| /* the "." and "~=" forms match on a space separated list of words. |
| In such a list, a word containing a space can never match, since it |
| would by definition be two words. */ |
| |
| </cssrules> |
| |
| <code> |
| <p class="two words" xmlns="http://www.w3.org/1999/xhtml">This line should have a green background.</p> |
| </code> |
| |
| </csstest> |