Skip to content

Commit

Permalink
Add ImageDecoder-independent animated AVIF test
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Sep 23, 2022
1 parent f46baf3 commit fc96bdd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions animated-avif/META.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spec: https://aomediacodec.github.io/av1-avif/
1 change: 1 addition & 0 deletions animated-avif/animated-avif-timeout-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<img src=../images/green.png>
11 changes: 11 additions & 0 deletions animated-avif/animated-avif-timeout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html class="reftest-wait">
<title>Animated AVIF: Second frame displays quickly, replacing red with green.</title>
<link rel="match" href="animated-avif-timeout-ref.html"/>
<img src=../images/animated-avif.avif onload="loaded()"/>
<script>
function loaded() {
setTimeout(function() {
document.documentElement.classList.remove("reftest-wait");
}, 1000);
}
</script>
Binary file added images/animated-avif.avif
Binary file not shown.

0 comments on commit fc96bdd

Please sign in to comment.