Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: LayoutTests/fast/canvas/canvas-createImageBitmap-immutable-expected.html

Issue 20748002: Blob creation methods for ImageBitmap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Read blob as ArrayBuffer. Refactor into ImageBitmapFactories. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
index 6233c8c49d363fa3098df76b434dca096970b5c4..a9c4df5d7073d3c2a6d977bfe53815ab0d644448 100644
--- a/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable-expected.html
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-immutable-expected.html
@@ -2,20 +2,22 @@
<body>
<script>
var canvas = document.createElement('canvas');
-canvas.setAttribute('width', '40');
+canvas.setAttribute('width', '50');
canvas.setAttribute('height', '30');
var ctx = canvas.getContext('2d');
document.body.appendChild(canvas);
-ctx.fillStyle = 'green';
+ctx.fillStyle = 'rgb(0, 255, 0)';
ctx.fillRect(0, 0, 10, 10);
ctx.fillRect(11, 0, 10, 10);
ctx.fillRect(22, 0, 10, 10);
+ctx.fillRect(33, 0, 10, 10);
ctx.fillRect(0, 11, 10, 10);
ctx.fillRect(11, 11, 10, 10);
ctx.fillRect(22, 11, 10, 10);
+ctx.fillRect(33, 11, 10, 10);
</script>
-<p>There should be 6 green squares displayed in a 2 row by 3 column grid.</p>
+<p>There should be 8 green squares displayed in a 2 row by 4 column grid.</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698