summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/reftest/legacy
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/infrastructure/reftest/legacy
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/infrastructure/reftest/legacy')
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/README.md5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2.html11
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2a.html9
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail_0-ref.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_0.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_1.html4
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_0-ref.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_1-ref.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail_0-ref.html5
-rw-r--r--testing/web-platform/tests/infrastructure/reftest/legacy/reftest_fuzzy_chain_ini.html11
14 files changed, 85 insertions, 0 deletions
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/README.md b/testing/web-platform/tests/infrastructure/reftest/legacy/README.md
new file mode 100644
index 0000000000..01bb6f773e
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/README.md
@@ -0,0 +1,5 @@
+This directory contains the old reftest chaining tests, based on how they worked prior to
+[RFC #15](https://github.com/web-platform-tests/rfcs/blob/master/rfcs/reftest_simplification.md).
+
+The expectations for these match the current logic; these are included here so we have
+tests that fail if any external runner is implementing this logic.
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2.html b/testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2.html
new file mode 100644
index 0000000000..cdaf6446ed
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<!-- This will only match with the fuzzy set in the ini file -->
+<link rel="match" href="fuzzy-ref-2a.html">
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ background-color: green;
+}
+</style>
+<div></div>
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2a.html b/testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2a.html
new file mode 100644
index 0000000000..99da3203af
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/fuzzy-ref-2a.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 101px;
+ height: 100px;
+ background-color: green;
+}
+</style>
+<div></div>
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail.html
new file mode 100644
index 0000000000..2960195356
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail.html
@@ -0,0 +1,5 @@
+<title>Reftest chain that should fail</title>
+<link rel=match href=reftest_and_fail_0-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail_0-ref.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail_0-ref.html
new file mode 100644
index 0000000000..565f663ed5
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_fail_0-ref.html
@@ -0,0 +1,5 @@
+<title>Reftest chain that should fail</title>
+<link rel=match href=../red.html>
+<style>
+:root {background-color:green}
+</style>
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch.html
new file mode 100644
index 0000000000..b6b4847473
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch.html
@@ -0,0 +1,5 @@
+<title>Reftest chain with mismatch and mismatch</title>
+<link rel=mismatch href=reftest_and_mismatch_0.html>
+<style>
+:root {background-color:green}
+</style>
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_0.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_0.html
new file mode 100644
index 0000000000..f84ce6a13a
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_0.html
@@ -0,0 +1,5 @@
+<title>Reftest chain with mismatch and mismatch</title>
+<link rel=mismatch href=reftest_and_mismatch_1.html>
+<style>
+:root {background-color:blue}
+</style>
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_1.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_1.html
new file mode 100644
index 0000000000..05e905adaf
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_and_mismatch_1.html
@@ -0,0 +1,4 @@
+<title>Reftest chain with match and mismatch</title>
+<style>
+:root {background-color:green}
+</style>
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle.html
new file mode 100644
index 0000000000..4a84a3b674
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, all match</title>
+<link rel=match href=reftest_cycle_0-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_0-ref.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_0-ref.html
new file mode 100644
index 0000000000..118bfd8844
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_0-ref.html
@@ -0,0 +1,5 @@
+<title>OR match that should pass</title>
+<link rel=match href=reftest_cycle_1-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_1-ref.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_1-ref.html
new file mode 100644
index 0000000000..59be0b641d
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_1-ref.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, all match</title>
+<link rel=match href=reftest_cycle.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail.html
new file mode 100644
index 0000000000..175e76c4cc
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, fails</title>
+<link rel=match href=reftest_cycle_fail_0-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail_0-ref.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail_0-ref.html
new file mode 100644
index 0000000000..c8e548c462
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_cycle_fail_0-ref.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, fails</title>
+<link rel=mismatch href=reftest_cycle_fail.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_fuzzy_chain_ini.html b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_fuzzy_chain_ini.html
new file mode 100644
index 0000000000..4353379ddb
--- /dev/null
+++ b/testing/web-platform/tests/infrastructure/reftest/legacy/reftest_fuzzy_chain_ini.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<link rel=match href=fuzzy-ref-2.html>
+<!-- The metadata is added to the corresponding ini file -->
+<style>
+div {
+ width: 99px;
+ height: 100px;
+ background-color: green;
+}
+</style>
+<div></div>