summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-namespaces/prefix-004.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-namespaces/prefix-004.xml')
-rw-r--r--testing/web-platform/tests/css/css-namespaces/prefix-004.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-namespaces/prefix-004.xml b/testing/web-platform/tests/css/css-namespaces/prefix-004.xml
new file mode 100644
index 0000000000..596d4637f9
--- /dev/null
+++ b/testing/web-platform/tests/css/css-namespaces/prefix-004.xml
@@ -0,0 +1,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>