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

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

Issue 22346004: Ensure that createImageBitmap takes a snapshot of a gifs frame 0 image. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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-animated-expected.html
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-animated-expected.html b/LayoutTests/fast/canvas/canvas-createImageBitmap-animated-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..f34b0a19e56fb90975e4871cf24e2cc78b11ab6a
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-animated-expected.html
@@ -0,0 +1,14 @@
+<html>
+<body>
+<canvas id="c"></canvas>
+<script>
+var canvas = document.getElementById("c");
+canvas.setAttribute("width", "200");
+canvas.setAttribute("height", "200");
+var ctx = canvas.getContext("2d");
+ctx.fillStyle = 'rgb(0, 255, 0)';
+ctx.fillRect(0, 0, 200, 200);
+</script>
+<p>A green square should be visible.</p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698