syntax-005.xml (1140B)
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-5.xml"/> 7 <title>CSS Namespaces Test Suite: @namespace string and url() syntax</title> 8 <style> 9 test { background:red } 10 </style> 11 <style> 12 @namespace a url(test-a); 13 @namespace b url('test-b'); 14 @namespace c url("test-c"); 15 @namespace d 'test-d'; 16 @namespace e "test-e"; 17 a|test, b|test, c|test, d|test, e|test { background:lime } 18 </style> 19 </head> 20 <body> 21 <p><test xmlns="test-a">This sentence should have a green background.</test></p> 22 <p><test xmlns="test-b">This sentence should have a green background.</test></p> 23 <p><test xmlns="test-c">This sentence should have a green background.</test></p> 24 <p><test xmlns="test-d">This sentence should have a green background.</test></p> 25 <p><test xmlns="test-e">This sentence should have a green background.</test></p> 26 </body> 27 </html>