summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/received/css-namespaces-3/prefix-006.xml
blob: 0bf59915a45b6f51b20dda3d8c79e8ce7f1d15cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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/#prefixes"/>
  <link rel="match" href="reftest/ref-lime-2.xml"/>
  <title>CSS Namespaces Test Suite: no prefix</title>
  <style>
   @namespace "test";
   |t { background:lime }
   t { background:red }
  </style>
  <style>
   @namespace "test";
   t2 { background:lime }
   |t2 { background:red }
  </style>
 </head>
 <body>
  <p><t xmlns="">This sentence should have a green background.</t></p>
  <p><t2 xmlns="test">This sentence should have a green background.</t2></p>
 </body>
</html>