summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-namespaces/prefix-005.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-namespaces/prefix-005.xml')
-rw-r--r--testing/web-platform/tests/css/css-namespaces/prefix-005.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-namespaces/prefix-005.xml b/testing/web-platform/tests/css/css-namespaces/prefix-005.xml
new file mode 100644
index 0000000000..5f7c3cad3d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-namespaces/prefix-005.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="author" title="Boris Zbarsky" href="https://bugzilla.mozilla.org/show_bug.cgi?id=458381#c4"/>
+ <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: no default namespace</title>
+ <style>
+ @namespace x "test";
+ root *|* { background:red; display:block }
+ head { display:none }
+ t { background: lime }
+ </style>
+ </head>
+ <t>This sentence should have a green background.</t>
+ <t xmlns="test">This sentence should have a green background.</t>
+</root>