summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml')
-rw-r--r--testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml
new file mode 100644
index 0000000000..b1029c12f7
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/other-formats/xml/background-20.xml
@@ -0,0 +1,15 @@
+<generic>
+<head xmlns="http://www.w3.org/1999/xhtml">
+ <title>Background (non-)propagation in XML</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/20.xml" type="application/xhtml+xml"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background" />
+ <style type="text/css">
+ body { background: red; }
+ p, a { background: green; color: white; }
+ </style>
+ </head>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+ <p>This document should have one line of green.</p>
+ </body>
+</generic>