summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/mediaqueries/prefers-color-scheme-svg-image-normal-with-meta-dark-ref.html
blob: 008c66e47d9a876680b31ce11cca4e66258166d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<meta charset="utf-8">
<meta name="color-scheme" content="dark only">
<title>CSS prefers-color-scheme affects SVG images - color-scheme 'normal', &lt;meta> 'dark only' (reference)</title>
<style>
  .background {
    width: 32px;
    height: 32px;
  }
</style>
<div>
  <img src="resources/prefers-color-scheme-dark.svg">
  <div class="background" style="background-image: url(resources/prefers-color-scheme-dark.svg)"></div>
</div>