layout/reftests/w3c-css/received/css3-namespace/syntax-013.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/received/css3-namespace/syntax-013.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 + <head>
     1.6 +  <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
     1.7 +  <link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
     1.8 +  <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
     1.9 +  <link rel="help" href="http://www.w3.org/TR/css3-namespace/#syntax"/>
    1.10 +  <link rel="match" href="reftest/ref-lime-5.xml"/>
    1.11 +  <meta name="flags" content="invalid"/>
    1.12 +  <title>CSS Namespaces Test Suite: @namespace error handling</title>
    1.13 +  <style>
    1.14 +   t, t2, t3, t4, t5 { background:red }
    1.15 +  </style>
    1.16 +  <style>
    1.17 +   @namespace "test" {}
    1.18 +   t { background:lime }
    1.19 +  </style>
    1.20 +  <style id="a">@namespace x "test</style>
    1.21 +  <script>
    1.22 +   document.getElementById("a").sheet.insertRule("x|t2 {background:lime }", 1)
    1.23 +  </script>
    1.24 +  <style>
    1.25 +   @namespace "fail;
    1.26 +   ; t3 { background:lime }
    1.27 +  </style>
    1.28 +  <style>
    1.29 +   @namespace url('fail);
    1.30 +     t4 { background:red !important; }
    1.31 +   );
    1.32 +   t4 { background:lime }
    1.33 +  </style>
    1.34 +  <style>
    1.35 +   @namespace url(test);
    1.36 +   @namespace url('test' x);
    1.37 +   t5 { background:lime }
    1.38 +  </style>
    1.39 + </head>
    1.40 + <body>
    1.41 +  <p><t>This sentence should have a green background.</t></p>
    1.42 +  <p><t2 xmlns="test">This sentence should have a green background.</t2></p>
    1.43 +  <p><t3>This sentence should have a green background.</t3></p>
    1.44 +  <p><t4>This sentence should have a green background.</t4></p>
    1.45 +  <p><t5 xmlns="test">This sentence should have a green background.</t5></p>
    1.46 + </body>
    1.47 +</html>

mercurial