diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/css/mediaqueries | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/css/mediaqueries')
15 files changed, 91 insertions, 0 deletions
diff --git a/testing/web-platform/meta/css/mediaqueries/__dir__.ini b/testing/web-platform/meta/css/mediaqueries/__dir__.ini new file mode 100644 index 0000000000..daf68383df --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/__dir__.ini @@ -0,0 +1 @@ +leak-threshold: [default:51200] diff --git a/testing/web-platform/meta/css/mediaqueries/device-aspect-ratio-003.html.ini b/testing/web-platform/meta/css/mediaqueries/device-aspect-ratio-003.html.ini new file mode 100644 index 0000000000..b359dec052 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/device-aspect-ratio-003.html.ini @@ -0,0 +1,3 @@ +[device-aspect-ratio-003.html] + expected: + if (os == "android"): FAIL diff --git a/testing/web-platform/meta/css/mediaqueries/forced-colors.html.ini b/testing/web-platform/meta/css/mediaqueries/forced-colors.html.ini new file mode 100644 index 0000000000..86fe123a03 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/forced-colors.html.ini @@ -0,0 +1,2 @@ +[forced-colors.html] + prefs: [layout.css.forced-colors.enabled:true] diff --git a/testing/web-platform/meta/css/mediaqueries/inverted-colors.html.ini b/testing/web-platform/meta/css/mediaqueries/inverted-colors.html.ini new file mode 100644 index 0000000000..514300a62e --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/inverted-colors.html.ini @@ -0,0 +1,2 @@ +[inverted-colors.html] + prefs: [layout.css.inverted-colors.enabled:true] diff --git a/testing/web-platform/meta/css/mediaqueries/media-query-matches-in-iframe.html.ini b/testing/web-platform/meta/css/mediaqueries/media-query-matches-in-iframe.html.ini new file mode 100644 index 0000000000..e0829db3d9 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/media-query-matches-in-iframe.html.ini @@ -0,0 +1,30 @@ +[media-query-matches-in-iframe.html] + [matchMedia('(max-width: 150px)') should not receive a change event until update the rendering step of HTML5 event loop] + expected: FAIL + + [matchMedia('(width: 100px)') should not receive a change event until update the rendering step of HTML5 event loop] + expected: FAIL + + [matchMedia('(orientation: portrait)') should not receive a change event until update the rendering step of HTML5 event loop] + expected: FAIL + + [matchMedia('(aspect-ratio: 1/1)') should not receive a change event until update the rendering step of HTML5 event loop] + expected: FAIL + + [matchMedia('(max-aspect-ratio: 4/3)') should not receive a change event until update the rendering step of HTML5 event loop] + expected: FAIL + + [matchMedia('(max-width: 150px)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called] + expected: FAIL + + [matchMedia('(width: 100px)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called] + expected: FAIL + + [matchMedia('(orientation: portrait)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called] + expected: FAIL + + [matchMedia('(aspect-ratio: 1/1)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called] + expected: FAIL + + [matchMedia('(max-aspect-ratio: 4/3)') should receive a change event after resize event on the window but before a requestAnimationFrame callback is called] + expected: FAIL diff --git a/testing/web-platform/meta/css/mediaqueries/mq-invalid-media-type-005.html.ini b/testing/web-platform/meta/css/mediaqueries/mq-invalid-media-type-005.html.ini new file mode 100644 index 0000000000..83ac374ff8 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/mq-invalid-media-type-005.html.ini @@ -0,0 +1,3 @@ +[mq-invalid-media-type-005.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/css/mediaqueries/mq-non-matching-lazy-load.tentative.html.ini b/testing/web-platform/meta/css/mediaqueries/mq-non-matching-lazy-load.tentative.html.ini new file mode 100644 index 0000000000..feabd1723a --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/mq-non-matching-lazy-load.tentative.html.ini @@ -0,0 +1,7 @@ +[mq-non-matching-lazy-load.tentative.html] + [Ensure browser renders the page without waiting for non matching @import style] + expected: + if (os == "win") and swgl: [FAIL, PASS] + if (os == "win") and not swgl: [FAIL, PASS] + if os == "mac": [FAIL, PASS] + [PASS, FAIL] diff --git a/testing/web-platform/meta/css/mediaqueries/mq-unknown-feature-custom-property.html.ini b/testing/web-platform/meta/css/mediaqueries/mq-unknown-feature-custom-property.html.ini new file mode 100644 index 0000000000..a28abe76d2 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/mq-unknown-feature-custom-property.html.ini @@ -0,0 +1,3 @@ +[mq-unknown-feature-custom-property.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/css/mediaqueries/navigation-controls.tentative.html.ini b/testing/web-platform/meta/css/mediaqueries/navigation-controls.tentative.html.ini new file mode 100644 index 0000000000..c411693690 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/navigation-controls.tentative.html.ini @@ -0,0 +1,14 @@ +[navigation-controls.tentative.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Check that none evaluates to false in the boolean context] + expected: FAIL + + [Should be known: '(navigation-controls)'] + expected: FAIL + + [Should be known: '(navigation-controls: none)'] + expected: FAIL + + [Should be known: '(navigation-controls: back-button)'] + expected: FAIL diff --git a/testing/web-platform/meta/css/mediaqueries/prefers-color-scheme.html.ini b/testing/web-platform/meta/css/mediaqueries/prefers-color-scheme.html.ini new file mode 100644 index 0000000000..e723f9c5fd --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/prefers-color-scheme.html.ini @@ -0,0 +1,3 @@ +[prefers-color-scheme.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/css/mediaqueries/prefers-contrast.html.ini b/testing/web-platform/meta/css/mediaqueries/prefers-contrast.html.ini new file mode 100644 index 0000000000..2a805c0e37 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/prefers-contrast.html.ini @@ -0,0 +1,2 @@ +[prefers-contrast.html] + prefs: [layout.css.prefers-contrast.enabled:true] diff --git a/testing/web-platform/meta/css/mediaqueries/prefers-reduced-data.html.ini b/testing/web-platform/meta/css/mediaqueries/prefers-reduced-data.html.ini new file mode 100644 index 0000000000..b68ef8d86d --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/prefers-reduced-data.html.ini @@ -0,0 +1,14 @@ +[prefers-reduced-data.html] + expected: + if (os == "android") and fission: [TIMEOUT, OK] + [Check that no-preference evaluates to false in the boolean context] + expected: FAIL + + [Should be known: '(prefers-reduced-data)'] + expected: FAIL + + [Should be known: '(prefers-reduced-data: no-preference)'] + expected: FAIL + + [Should be known: '(prefers-reduced-data: reduce)'] + expected: FAIL diff --git a/testing/web-platform/meta/css/mediaqueries/prefers-reduced-transparency.html.ini b/testing/web-platform/meta/css/mediaqueries/prefers-reduced-transparency.html.ini new file mode 100644 index 0000000000..d02fdb79e8 --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/prefers-reduced-transparency.html.ini @@ -0,0 +1,2 @@ +[prefers-reduced-transparency.html] + prefs: [layout.css.prefers-reduced-transparency.enabled:true] diff --git a/testing/web-platform/meta/css/mediaqueries/relative-units-005.html.ini b/testing/web-platform/meta/css/mediaqueries/relative-units-005.html.ini new file mode 100644 index 0000000000..754f26f55c --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/relative-units-005.html.ini @@ -0,0 +1,3 @@ +[relative-units-005.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/css/mediaqueries/viewport-script-dynamic.html.ini b/testing/web-platform/meta/css/mediaqueries/viewport-script-dynamic.html.ini new file mode 100644 index 0000000000..c7d6e2f4cd --- /dev/null +++ b/testing/web-platform/meta/css/mediaqueries/viewport-script-dynamic.html.ini @@ -0,0 +1,2 @@ +[viewport-script-dynamic.html] + prefs: [dom.meta-viewport.enabled:true] |