syntax-008.xml (839B)
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-2.xml"/> 7 <title>CSS Namespaces Test Suite: escapes in prefix</title> 8 <style> 9 @namespace \72x url("test"); 10 t { background:red } 11 r\78|t { background:lime } 12 </style> 13 <style> 14 @namespace \032 url("test"); /* two spaces, see CSS 2.1, 4.1.3 */ 15 t2 { background:red } 16 \32|t2 { background:lime } 17 </style> 18 </head> 19 <body> 20 <p><t xmlns="test">This sentence should have a green background.</t></p> 21 <p><t2 xmlns="test">This sentence should have a green background.</t2></p> 22 </body> 23 </html>