summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html')
-rw-r--r--testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html8
1 files changed, 8 insertions, 0 deletions
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
new file mode 100644
index 0000000000..6fc33f56ce
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html
@@ -0,0 +1,8 @@
+<!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'>