summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-namespaces/scope-001.xml
blob: 5271096a96432ca6ebd2b2907b7946efc6bc7c46 (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/#scope"/>
  <link rel="match" href="reference/ref-lime-1.xml"/>
  <meta name="flags" content="invalid"/>
  <title>CSS Namespaces Test Suite: scope &lt;style></title>
  <style>
   @namespace x url("test");
   test { background:lime }
  </style>
  <style>
   x|test { background:red }
  </style>
 </head>
 <body>
  <p><test xmlns="test">This sentence should have a green background.</test></p>
 </body>
</html>