summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-namespaces/prefix-004.xml
blob: 596d4637f9ba79f67abddef0383f197e66fa1090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<root>
 <head xmlns="http://www.w3.org/1999/xhtml">
  <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="reference/ref-lime-2-generic.xml"/>
  <title>CSS Namespaces Test Suite: empty string default namespace</title>
  <style>
   @namespace "";
   @namespace x "test";
   *|t, *|root { display:block }
   *|t, t[x] { background:lime }
   t { background:red }
  </style>
 </head>
 <t x="">This sentence should have a green background.</t>
 <t xmlns="test">This sentence should have a green background.</t>
</root>