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

Unified Diff: LayoutTests/fast/canvas/canvas-drawImage-animated-expected.txt

Issue 388253004: Drawing an animated image to a canvas now behave as expected (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Corrections according to comments + rebase master Created 6 years, 5 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
« no previous file with comments | « LayoutTests/fast/canvas/canvas-drawImage-animated.html ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/canvas-drawImage-animated-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-drawImage-animated-expected.txt b/LayoutTests/fast/canvas/canvas-drawImage-animated-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e0ed18926b433025096aa1cc63fd9fc014fe033
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-drawImage-animated-expected.txt
@@ -0,0 +1,13 @@
+When drawing an animated image to a canvas, the poster frame (or the first frame) should be printed.
+This test passes if the canvas is filled with the color rgb(64, 4, 30).
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS imageData.data[0] is 64
+PASS imageData.data[1] is 4
+PASS imageData.data[2] is 30
+
« no previous file with comments | « LayoutTests/fast/canvas/canvas-drawImage-animated.html ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698