Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/> |
michael@0 | 4 | <link rel="author" title="Opera Software ASA" href="http://opera.com/"/> |
michael@0 | 5 | <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> |
michael@0 | 6 | <link rel="help" href="http://www.w3.org/TR/css3-namespace/#syntax"/> |
michael@0 | 7 | <link rel="match" href="reftest/ref-lime-5.xml"/> |
michael@0 | 8 | <meta name="flags" content="invalid"/> |
michael@0 | 9 | <title>CSS Namespaces Test Suite: @namespace error handling</title> |
michael@0 | 10 | <style> |
michael@0 | 11 | t, t2, t3, t4, t5 { background:red } |
michael@0 | 12 | </style> |
michael@0 | 13 | <style> |
michael@0 | 14 | @namespace "test" {} |
michael@0 | 15 | t { background:lime } |
michael@0 | 16 | </style> |
michael@0 | 17 | <style id="a">@namespace x "test</style> |
michael@0 | 18 | <script> |
michael@0 | 19 | document.getElementById("a").sheet.insertRule("x|t2 {background:lime }", 1) |
michael@0 | 20 | </script> |
michael@0 | 21 | <style> |
michael@0 | 22 | @namespace "fail; |
michael@0 | 23 | ; t3 { background:lime } |
michael@0 | 24 | </style> |
michael@0 | 25 | <style> |
michael@0 | 26 | @namespace url('fail); |
michael@0 | 27 | t4 { background:red !important; } |
michael@0 | 28 | ); |
michael@0 | 29 | t4 { background:lime } |
michael@0 | 30 | </style> |
michael@0 | 31 | <style> |
michael@0 | 32 | @namespace url(test); |
michael@0 | 33 | @namespace url('test' x); |
michael@0 | 34 | t5 { background:lime } |
michael@0 | 35 | </style> |
michael@0 | 36 | </head> |
michael@0 | 37 | <body> |
michael@0 | 38 | <p><t>This sentence should have a green background.</t></p> |
michael@0 | 39 | <p><t2 xmlns="test">This sentence should have a green background.</t2></p> |
michael@0 | 40 | <p><t3>This sentence should have a green background.</t3></p> |
michael@0 | 41 | <p><t4>This sentence should have a green background.</t4></p> |
michael@0 | 42 | <p><t5 xmlns="test">This sentence should have a green background.</t5></p> |
michael@0 | 43 | </body> |
michael@0 | 44 | </html> |