summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/box-display/support/root-canvas-001a.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/box-display/support/root-canvas-001a.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/box-display/support/root-canvas-001a.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/box-display/support/root-canvas-001a.html b/testing/web-platform/tests/css/CSS2/box-display/support/root-canvas-001a.html
new file mode 100644
index 0000000000..4cfa963ff0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/box-display/support/root-canvas-001a.html
@@ -0,0 +1,20 @@
+<!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">
+ <head>
+ <title>Canvas: Embedded documents: Internal</title>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/model/canvas/001a.html" type="text/html"/>
+ <style type="text/css">
+ html, body { background: red; color: white; }
+ html, body, p {
+ margin: 0; padding: 0; border: 0; height: 100%;
+ }
+ p {
+ background: green;
+ }
+ </style>
+ </head>
+ <body>
+ <p>This square must be green.</p>
+ </body>
+</html> \ No newline at end of file