Index: Source/web/tests/data/canvas-copy-image.html |
diff --git a/Source/web/tests/data/canvas-copy-image.html b/Source/web/tests/data/canvas-copy-image.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f346654bb629b461b3b5589b73b17be83d54ff86 |
--- /dev/null |
+++ b/Source/web/tests/data/canvas-copy-image.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<canvas width="200" height="200"></canvas> |
+<script> |
+ var canvas = document.querySelector("canvas"); |
tkent
2014/06/30 22:59:46
Please do not indent the whole content of <script>
zino
2014/07/01 10:12:11
Done.
|
+ var context = canvas.getContext("2d"); |
+ context.fillStyle = "red"; |
+ context.fillRect(0, 0, 200, 200); |
+</script> |
+</body> |
+</html> |