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