Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/mediaqueries/prefers-color-scheme-svg-as-image.html - WPT Dashboard Interop Dashboard
<!doctype html>
<head>
<title>prefers-color-scheme inside an SVG image</title>
<link rel="match" href="prefers-color-scheme-svg-as-image-ref.html">
</head>
<p>There should be a purple square below when the preferred color-scheme is dark, and blue otherwise.</p>
<img src='resources/prefers-color-scheme.svg'>