summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-namespaces/syntax-016.xml
blob: 1e280d8cba530c10e01d5fc679950bf67a5f14d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
  <link rel="author" title="Disruptive Innovations SAS" href="http://disruptive-innovations.com/"/>
  <link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
  <title>CSS Namespaces Test Suite: @namespace and other rules ordering</title>
  <style>
    @namespace test url("test");
    @media all {
      test|test { background-color: lime; }
    }
    @namespace test2 url("test");
    test2|test { background: red }
  </style>
 </head>
 <body>
  <p>
    <test xmlns="test">This sentence should have a green
                       background.</test>
  </p>
 </body>
</html>