aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html/test-css-pseudo-root.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html/test-css-pseudo-root.html')
-rw-r--r--tests/html/test-css-pseudo-root.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/html/test-css-pseudo-root.html b/tests/html/test-css-pseudo-root.html
new file mode 100644
index 00000000000..f82349d5ea4
--- /dev/null
+++ b/tests/html/test-css-pseudo-root.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
+ <link rel="author" title="Daniel Glazman" href="mailto:d.glazman@partner.samsung.com" />
+ <title>:root test</title>
+ <style type="text/css">
+ html:root { background: green; }
+ html { background: red; }
+ p:root { background: red; }
+ </style>
+ </head>
+ <body>
+ The background of the page should be green and you should see not red at all.
+ <p>And the background of this sentence should be green too.</p>
+ </body>
+</html>