diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme')
5 files changed, 3 insertions, 40 deletions
diff --git a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/WEB_FEATURES.yml new file mode 100644 index 0000000000..48bbe25901 --- /dev/null +++ b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: color-scheme + files: "**" diff --git a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-about-blank.tentative.html b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-about-blank.tentative.html index a5a9843ac8..f9ab24fdc1 100644 --- a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-about-blank.tentative.html +++ b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-about-blank.tentative.html @@ -8,6 +8,3 @@ </style> <p>Should not see a white frame below</p> <iframe width="600" height="400"></iframe> -<script> - document.querySelector("iframe").contentWindow.stop(); -</script> diff --git a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/support/prefers-color-scheme.svg b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/support/prefers-color-scheme.svg deleted file mode 100644 index 3afcac70fe..0000000000 --- a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/support/prefers-color-scheme.svg +++ /dev/null @@ -1,10 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" width='100px' height='100px'> - <style> - @media (prefers-color-scheme: dark) { - rect { - fill: green; - } - } - </style> - <rect fill='blue' width='100px' height='100px' /> -</svg> diff --git a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image-ref.html b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image-ref.html deleted file mode 100644 index 1ff9d88f30..0000000000 --- a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image-ref.html +++ /dev/null @@ -1,19 +0,0 @@ -<!doctype html> -<head> - <title>prefers-color-scheme inside an SVG image</title> - <link rel="help" href="https://www.w3.org/TR/mediaqueries-5/#descdef-media-prefers-color-scheme"> -</head> -<style> - div { - background-color: blue; - height: 100px; - width: 100px; - } - @media (prefers-color-scheme: dark) { - div { - background-color: green; - } - } -</style> -<p>There should be green square below when the preferred color-scheme is dark, and blue otherwise.</p> -<div></div> diff --git a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html deleted file mode 100644 index 6fc33f56ce..0000000000 --- a/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html +++ /dev/null @@ -1,8 +0,0 @@ -<!doctype html> -<head> - <title>prefers-color-scheme inside an SVG image</title> - <link rel="help" href="https://www.w3.org/TR/mediaqueries-5/#descdef-media-prefers-color-scheme"> - <link rel="match" href="svg-as-image-ref.html"> -</head> -<p>There should be green square below when the preferred color-scheme is dark, and blue otherwise.</p> -<img src='support/prefers-color-scheme.svg'> |