diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-color-adjust/rendering')
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'> |