syntax-011.xml (1629B)
1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/> 4 <link rel="author" title="Opera Software ASA" href="http://opera.com/"/> 5 <link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/> 6 <link rel="match" href="reference/ref-lime-6.xml"/> 7 <title>CSS Namespaces Test Suite: string comparison (no URI resolving)</title> 8 <style> 9 @namespace url("http://example.com/"); 10 *|t { background:lime } 11 t { background:red } 12 </style> 13 <style> 14 @namespace url("http://example.com/"); 15 *|t2 { background:lime } 16 t2 { background:red } 17 </style> 18 <style> 19 @namespace url("HTTP://example.com/"); 20 *|t3 { background:lime } 21 t3 { background:red } 22 </style> 23 <style> 24 @namespace url("http://example.COM/"); 25 *|t4 { background:lime } 26 t4 { background:red } 27 </style> 28 <style> 29 @namespace url("%41"); 30 *|t5 { background:lime } 31 t5 { background:red } 32 </style> 33 <style> 34 @namespace url("A"); 35 *|t6 { background:lime } 36 t6 { background:red } 37 </style> 38 </head> 39 <body> 40 <p><t xmlns="HTTP://example.com/">This sentence should have a green background.</t></p> 41 <p><t2 xmlns="http://example.COM/">This sentence should have a green background.</t2></p> 42 <p><t3 xmlns="http://example.com/">This sentence should have a green background.</t3></p> 43 <p><t4 xmlns="http://example.com/">This sentence should have a green background.</t4></p> 44 <p><t5 xmlns="A">This sentence should have a green background.</t5></p> 45 <p><t6 xmlns="%41">This sentence should have a green background.</t6></p> 46 </body> 47 </html>