diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/web-platform/mozilla/tests/infrastructure | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/mozilla/tests/infrastructure')
10 files changed, 63 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-001-ref.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-001-ref.html new file mode 100644 index 0000000000..1b394e0d4f --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-001-ref.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<html style="zoom: .5"> + <div style="width: 500px; height: 500px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-001.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-001.html new file mode 100644 index 0000000000..83fc95510f --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-001.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html reftest-zoom="0"> + <link rel="help" href="https://firefox-source-docs.mozilla.org/layout/Reftest.html#zoom-tests-reftest-zoom-float"/> + <link rel="match" href="clamp-full-zoom-001-ref.html"/> + <!-- zoom.minPercent is set to 50 in the corresponding ini file. --> + <meta name="assert" content="Zoom is at least by zoom.minPercent."/> + <script src="/_mozilla/common/reftest-zoom.js"></script> + <div style="width: 500px; height: 500px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-002-ref.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-002-ref.html new file mode 100644 index 0000000000..e2dd42fc86 --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-002-ref.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<html style="zoom: 2"> + <div style="width: 250px; height: 250px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-002.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-002.html new file mode 100644 index 0000000000..4fbe7edca1 --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/clamp-full-zoom-002.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html reftest-zoom="10"> + <link rel="help" href="https://firefox-source-docs.mozilla.org/layout/Reftest.html#zoom-tests-reftest-zoom-float"/> + <link rel="match" href="clamp-full-zoom-002-ref.html"/> + <!-- zoom.maxPercent is set to 200 in the corresponding ini file. --> + <meta name="assert" content="Zoom is at most by zoom.maxPercent."/> + <script src="/_mozilla/common/reftest-zoom.js"></script> + <div style="width: 250px; height: 250px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-001-ref.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-001-ref.html new file mode 100644 index 0000000000..1b394e0d4f --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-001-ref.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<html style="zoom: .5"> + <div style="width: 500px; height: 500px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-001.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-001.html new file mode 100644 index 0000000000..15c07de20d --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-001.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html reftest-zoom=".5"> + <link rel="help" href="https://firefox-source-docs.mozilla.org/layout/Reftest.html#zoom-tests-reftest-zoom-float"/> + <link rel="match" href="set-full-zoom-001-ref.html"/> + <meta name="assert" content="Zoom less than one scales down the rect."/> + <script src="/_mozilla/common/reftest-zoom.js"></script> + <div style="width: 500px; height: 500px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-002-ref.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-002-ref.html new file mode 100644 index 0000000000..e2dd42fc86 --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-002-ref.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<html style="zoom: 2"> + <div style="width: 250px; height: 250px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-002.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-002.html new file mode 100644 index 0000000000..f5d5e6a777 --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-002.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html reftest-zoom="2"> + <link rel="help" href="https://firefox-source-docs.mozilla.org/layout/Reftest.html#zoom-tests-reftest-zoom-float"/> + <link rel="match" href="set-full-zoom-002-ref.html"/> + <meta name="assert" content="Zoom more than one scales up the rect."/> + <script src="/_mozilla/common/reftest-zoom.js"></script> + <div style="width: 250px; height: 250px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-003-ref.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-003-ref.html new file mode 100644 index 0000000000..ab500f2a2e --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-003-ref.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<html style="zoom: 1"> + <div style="width: 250px; height: 250px; background: green"></div> +</html> diff --git a/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-003.html b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-003.html new file mode 100644 index 0000000000..b4bf803a89 --- /dev/null +++ b/testing/web-platform/mozilla/tests/infrastructure/reftest-zoom/set-full-zoom-003.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> + <link rel="match" href="set-full-zoom-003-ref.html"/> + <meta name="assert" content="Initial zoom is equal to one."/> + <!-- Note that when running all the tests by alphabetical order, this test + would fail if set-zoom-002.html does not reset the zoom to one. + It would pass when re-running after a browser restart, though. --> + <div style="width: 250px; height: 250px; background: green"></div> +</html> |