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..90abda7eed39578d9a79b55ae076d8771392a4c5 |
--- /dev/null |
+++ b/Source/web/tests/data/canvas-copy-image.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
yosin_UTC9
2014/06/30 09:17:08
nit: We don't need to have empty HEAD element.
zino
2014/06/30 10:30:32
Done.
|
+</head> |
+<body> |
+ <canvas width="200" height="200"></canvas> |
yosin_UTC9
2014/06/30 09:17:08
nit: We don't need to indent HTML.
zino
2014/06/30 10:30:32
Done.
|
+ <script> |
+ var canvas = document.querySelector("canvas"); |
+ var context = canvas.getContext("2d"); |
+ context.fillStyle = "red"; |
+ context.fillRect(0, 0, 200, 200); |
+ </script> |
+</body> |
+</html> |