Status: PASS | Duration: 5ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/mediaqueries/prefers-color-scheme-svg-image-normal-with-meta-light.html
<!doctype html> <meta charset="utf-8"> <meta name="color-scheme" content="light only"> <title>CSS prefers-color-scheme affects SVG images - color-scheme 'normal', <meta> 'light only'</title> <link rel="help" href="https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme"> <link rel="match" href="prefers-color-scheme-svg-image-normal-with-meta-light-ref.html"> <style> .background { width: 32px; height: 32px; background-image: url(resources/prefers-color-scheme.svg); } </style> <div> <img src="resources/prefers-color-scheme.svg"> <div class="background"></div> </div>
/css/mediaqueries/prefers-color-scheme-svg-image-normal-with-meta-light-ref.html
<!doctype html> <meta charset="utf-8"> <title>CSS prefers-color-scheme affects SVG images - color-scheme 'normal', <meta> 'light only' (reference)</title> <style> .background { width: 32px; height: 32px; } </style> <div> <img src="resources/prefers-color-scheme-light.svg"> <div class="background" style="background-image: url(resources/prefers-color-scheme-light.svg)"></div> </div>