| <csstest def="Attribute multivalue selector and spaces (title attribute)" module="W3C Selectors" modulename="css3-modsel" number="7c" rev="1.0" date="9-november-2005" xmlns="http://www.example.org/css3tests"> |
| |
| <author>Ian Hickson</author> |
| |
| <cssrules> |
| p { background: red; } |
| [title~="pass"] { background: lime; } |
| address { background: lime; } |
| [title~="fail"] { background: red; } |
| </cssrules> |
| |
| <!-- XML 1.0 doesn't support the characters on the lines commented out below --> |
| |
| <code> |
| <p xmlns="http://www.w3.org/1999/xhtml" title="test	pass">This line should have a green background.</p> |
| <p xmlns="http://www.w3.org/1999/xhtml" title="test
pass">This line should have a green background.</p> |
| <p xmlns="http://www.w3.org/1999/xhtml" title="test
pass">This line should have a green background.</p> |
| <!-- <p xmlns="http://www.w3.org/1999/xhtml" title="testpass">This line should have a green background.</p> --> |
| <p xmlns="http://www.w3.org/1999/xhtml" title="test pass">This line should have a green background.</p> |
| <!-- <address xmlns="http://www.w3.org/1999/xhtml" title="testpass">This line should have a green background.</address> --> |
| <!-- <address xmlns="http://www.w3.org/1999/xhtml" title="testpass">This line should have a green background.</address> --> |
| <address xmlns="http://www.w3.org/1999/xhtml" title="test pass">This line should have a green background.</address> |
| <address xmlns="http://www.w3.org/1999/xhtml" title="test pass">This line should have a green background.</address> |
| <address xmlns="http://www.w3.org/1999/xhtml" title="test pass">This line should have a green background.</address> |
| <address xmlns="http://www.w3.org/1999/xhtml" title="test pass">This line should have a green background.</address> |
| <address xmlns="http://www.w3.org/1999/xhtml" title="test𐀠pass">This line should have a green background.</address> |
| </code> |
| |
| </csstest> |