diff options
author | Jack Moffitt <jack@metajack.im> | 2014-08-28 09:34:23 -0600 |
---|---|---|
committer | Jack Moffitt <jack@metajack.im> | 2014-09-08 20:21:42 -0600 |
commit | c6ab60dbfc6da7b4f800c9e40893c8b58413960c (patch) | |
tree | d1d74076cf7fa20e4f77ec7cb82cae98b67362cb /tests/html/test-css-pseudo-root.html | |
parent | db2f642c32fc5bed445bb6f2e45b0f6f0b4342cf (diff) | |
download | servo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.tar.gz servo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.zip |
Cargoify servo
Diffstat (limited to 'tests/html/test-css-pseudo-root.html')
-rw-r--r-- | tests/html/test-css-pseudo-root.html | 17 |
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> |