syntax-010.xml (1138B)
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: duplicate @namespace declarations</title> 9 <style> 10 @namespace "1"; 11 @namespace dummy "yummy"; 12 @namespace "2"; 13 *|t { background:lime } 14 t { background:red } 15 </style> 16 <style> 17 @namespace "1"; 18 @namespace dummy "yummy"; 19 @namespace "2"; 20 *|t2 { background:red } 21 t2 { background:lime } 22 </style> 23 <style> 24 @namespace x "1"; 25 @namespace dummy "yummy"; 26 @namespace x "2"; 27 *|t3 { background:red } 28 x|t3 { background:lime } 29 </style> 30 </head> 31 <body> 32 <p><t xmlns="1">This sentence should have a green background.</t></p> 33 <p><t2 xmlns="2">This sentence should have a green background.</t2></p> 34 <p><t3 xmlns="2">This sentence should have a green background.</t3></p> 35 </body> 36 </html>