forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While animated-png.html uses internals for selecting frames and verifying that we decode APNGs properly, this test confirms that a basic animation will work correctly, and can work in other browsers. - apng.png A simple APNG with two frames. The first frame is red, and displays for as short a time as possible (11 ms; anything less than that and Chromium increases the time), followed by a green frame. The image does not loop. The green frame matches green.png, which already exists - animated-png-timeout-ref.html Reference page showing the existing image (green.png). BUG=437662 Review-Url: https://codereview.chromium.org/2814453004 Cr-Commit-Position: refs/heads/master@{#464038}
- Loading branch information
1 parent
6962792
commit 0a441e3
Showing
4 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<img src=../images/green.png> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<html class="reftest-wait"> | ||
<title>APNG: Second frame displays quickly, replacing red with green.</title> | ||
<link rel="match" href="animated-png-timeout-ref.html"/> | ||
<img src=../images/apng.png onload="loaded()"/> | ||
<script> | ||
function loaded() { | ||
setTimeout(function() { | ||
document.documentElement.classList.remove("reftest-wait"); | ||
}, 1000); | ||
} | ||
</script> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters