summaryrefslogtreecommitdiffstats
path: root/gfx/tests/reftest/1801588-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/tests/reftest/1801588-1-ref.html')
-rw-r--r--gfx/tests/reftest/1801588-1-ref.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/gfx/tests/reftest/1801588-1-ref.html b/gfx/tests/reftest/1801588-1-ref.html
new file mode 100644
index 0000000000..d23c2e67c2
--- /dev/null
+++ b/gfx/tests/reftest/1801588-1-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <canvas id="canvas" width="100" height="100"></canvas>
+ <script>
+ var c = document.getElementById("canvas");
+ var ctx = c.getContext("2d");
+ ctx.globalCompositeOperation = "copy";
+ ctx.fillStyle = "green";
+ ctx.fillRect(0, 0, 50, 50);
+ </script>
+ </body>
+</html>