summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/avif/animated-avif-timeout.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/avif/animated-avif-timeout.html')
-rw-r--r--testing/web-platform/tests/avif/animated-avif-timeout.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/avif/animated-avif-timeout.html b/testing/web-platform/tests/avif/animated-avif-timeout.html
new file mode 100644
index 0000000000..13a5722051
--- /dev/null
+++ b/testing/web-platform/tests/avif/animated-avif-timeout.html
@@ -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>