summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image-element/canvas-inside-document.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/image-element/canvas-inside-document.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/image-element/canvas-inside-document.html b/layout/reftests/image-element/canvas-inside-document.html
new file mode 100644
index 0000000000..8ee561356e
--- /dev/null
+++ b/layout/reftests/image-element/canvas-inside-document.html
@@ -0,0 +1,12 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/licenses/publicdomain/
+-->
+<html>
+<body style="margin:0">
+ <script src="canvas-drawing.js"></script>
+ <script>
+ document.body.appendChild(createCanvas());
+ </script>
+</body>
+</html>