summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-namespaces/syntax-006.xml
blob: 09ff0d5916ec30c76ca158b8ac917c7d0df2817a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
  <link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
  <link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
  <link rel="match" href="reference/ref-lime-1.xml"/>
  <meta name="flags" content="invalid"/>
  <title>CSS Namespaces Test Suite: invalid ordering of @namespace and @import</title>
  <style>
   @namespace x u\00072l("test");
   @import url("support/fail.css");
   @namespace url("test2");
   x|test { background:lime }
   test { background:red }
  </style>
 </head>
 <body>
  <p><test xmlns="test">This sentence should have a green background.</test></p>
 </body>
</html>