diff options
Diffstat (limited to 'testing/web-platform/tests/infrastructure/reftest/legacy')
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> |