syntax-014.xml (1054B)
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-3.xml"/> 7 <meta name="flags" content="invalid"/> 8 <title>CSS Namespaces Test Suite: @namespace and invalid at-rules</title> 9 <style> 10 t, t2, t3 { background:red } 11 </style> 12 <style> 13 @import x {} 14 @namespace x "test"; 15 x|t { background:lime } 16 </style> 17 <style> 18 @namespace x "test-top"; 19 @foobar this is funny { not:sure } 20 @namespace "test"; 21 @foobar this is funner; 22 t2 { background:lime } 23 x|t3 { background:lime } 24 </style> 25 </head> 26 <body> 27 <p><t xmlns="test">This sentence should have a green background.</t></p> 28 <p><t2 xmlns="test">This sentence should have a green background.</t2></p> 29 <p><t3 xmlns="test-top">This sentence should have a green background.</t3></p> 30 </body> 31 </html>