summaryrefslogtreecommitdiff
path: root/old/css_compat/tests/css-on-html-element.html
diff options
context:
space:
mode:
Diffstat (limited to 'old/css_compat/tests/css-on-html-element.html')
-rw-r--r--old/css_compat/tests/css-on-html-element.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/old/css_compat/tests/css-on-html-element.html b/old/css_compat/tests/css-on-html-element.html
new file mode 100644
index 0000000..a7a28e8
--- /dev/null
+++ b/old/css_compat/tests/css-on-html-element.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>CSS on HTML element</title>
+
+<style type="text/css" media="all">
+
+html {
+ background-color: green; color: red;
+}
+
+body {
+ background-color: white
+}
+</style>
+</head>
+
+<body>
+
+<h3>This text should render red in a white background box on a green canvas</h3>
+
+</body>
+</html>