Index: LayoutTests/fast/canvas/canvas-createImageBitmap-immutable-expected.html |
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable-expected.html b/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e785f008fe9231e918b99789e5e42a399bde87ac |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable-expected.html |
@@ -0,0 +1,21 @@ |
+<html> |
+<body> |
+<script> |
+var canvas = document.createElement('canvas'); |
+canvas.setAttribute('width', '400'); |
+canvas.setAttribute('height', '300'); |
+var ctx = canvas.getContext('2d'); |
+document.body.appendChild(canvas); |
+ |
+ctx.fillStyle = 'green'; |
+ctx.fillRect(0, 0, 100, 100); |
Stephen White
2013/07/25 18:01:07
Consider making these rects (and the canvas) small
|
+ctx.fillRect(110, 0, 100, 100); |
+ctx.fillRect(220, 0, 100, 100); |
+ctx.fillRect(0, 110, 100, 100); |
+ctx.fillRect(110, 110, 100, 100); |
+ctx.fillRect(220, 110, 100, 100); |
+ |
+</script> |
+<p>There should be 6 green squares displayed in a 2 row by 3 column grid.</p> |
+</body> |
+</html> |