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

Unified Diff: third_party/WebKit/LayoutTests/images/dispose-previous.html

Issue 2887123003: Fix required frame bug in APNGs (Closed)
Patch Set: Move comment Created 3 years, 7 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 | « no previous file | third_party/WebKit/LayoutTests/images/dispose-previous-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/images/dispose-previous.html
diff --git a/third_party/WebKit/LayoutTests/images/dispose-previous.html b/third_party/WebKit/LayoutTests/images/dispose-previous.html
new file mode 100644
index 0000000000000000000000000000000000000000..6210851fc399f1ea71d6cedb9690ff99c2997ce4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/images/dispose-previous.html
@@ -0,0 +1,17 @@
+<link rel="match" href="dispose-previous-expected.html"/>
+<img id="apng" src=resources/crbug722072.png />
+<script>
+if (window.testRunner) {
+ window.onload = function() {
+ testRunner.waitUntilDone();
+
+ // Jump to the final frame.
+ for (var i = 0; i < 3; i++)
+ window.internals.advanceImageAnimation(apng);
+
+ requestAnimationFrame(function() {
+ testRunner.notifyDone();
+ });
+ }
+}
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/images/dispose-previous-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698