summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/avif
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/avif
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/avif')
-rw-r--r--testing/web-platform/tests/avif/META.yml1
-rw-r--r--testing/web-platform/tests/avif/WEB_FEATURES.yml3
-rw-r--r--testing/web-platform/tests/avif/animated-avif-timeout-ref.html1
-rw-r--r--testing/web-platform/tests/avif/animated-avif-timeout.html11
4 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/avif/META.yml b/testing/web-platform/tests/avif/META.yml
new file mode 100644
index 0000000000..e047f234b5
--- /dev/null
+++ b/testing/web-platform/tests/avif/META.yml
@@ -0,0 +1 @@
+spec: https://aomediacodec.github.io/av1-avif/
diff --git a/testing/web-platform/tests/avif/WEB_FEATURES.yml b/testing/web-platform/tests/avif/WEB_FEATURES.yml
new file mode 100644
index 0000000000..9e19a422b0
--- /dev/null
+++ b/testing/web-platform/tests/avif/WEB_FEATURES.yml
@@ -0,0 +1,3 @@
+features:
+- name: avif
+ files: "**"
diff --git a/testing/web-platform/tests/avif/animated-avif-timeout-ref.html b/testing/web-platform/tests/avif/animated-avif-timeout-ref.html
new file mode 100644
index 0000000000..52374220c9
--- /dev/null
+++ b/testing/web-platform/tests/avif/animated-avif-timeout-ref.html
@@ -0,0 +1 @@
+<img src=../images/green.avif style="height:500px">
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..0970c994d3
--- /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()" style="height:500px"/>
+<script>
+ function loaded() {
+ setTimeout(function() {
+ document.documentElement.classList.remove("reftest-wait");
+ }, 1000);
+ }
+</script>