From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- .../tests/css/mediaqueries/WEB_FEATURES.yml | 5 +++++ .../prefers-color-scheme-svg-as-image-ref.html | 19 +++++++++++++++++++ .../prefers-color-scheme-svg-as-image.html | 8 ++++++++ 3 files changed, 32 insertions(+) create mode 100644 testing/web-platform/tests/css/mediaqueries/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image-ref.html create mode 100644 testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image.html (limited to 'testing/web-platform/tests/css/mediaqueries') diff --git a/testing/web-platform/tests/css/mediaqueries/WEB_FEATURES.yml b/testing/web-platform/tests/css/mediaqueries/WEB_FEATURES.yml new file mode 100644 index 0000000000..88f1510e1b --- /dev/null +++ b/testing/web-platform/tests/css/mediaqueries/WEB_FEATURES.yml @@ -0,0 +1,5 @@ +features: +- name: prefers-color-scheme + files: + - prefers-color-scheme.html + - prefers-color-scheme-* diff --git a/testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image-ref.html b/testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image-ref.html new file mode 100644 index 0000000000..012513ef9f --- /dev/null +++ b/testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image-ref.html @@ -0,0 +1,19 @@ + + + prefers-color-scheme inside an SVG image + + + +

There should be a purple square below when the preferred color-scheme is dark, and blue otherwise.

+
diff --git a/testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image.html b/testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image.html new file mode 100644 index 0000000000..65d6556f7a --- /dev/null +++ b/testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-as-image.html @@ -0,0 +1,8 @@ + + + prefers-color-scheme inside an SVG image + + + +

There should be a purple square below when the preferred color-scheme is dark, and blue otherwise.

+ -- cgit v1.2.3