summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html
blob: 8d25ec5009c16caf4ce1b4e376f36d7602cb60a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<meta charset="utf-8">
<title>
  Forced colors mode reference.
  Tests that inline images are ignored in forced colors mode when
  forced-color-adjust is auto.
</title>
<style>
  body {
    forced-color-adjust: none;
  }
  div {
    display: inline;
  }
  #adjustnone {
    background-image:
      url("resources/test-image.jpg");
  }
</style>
<body>
  <div>
    The background image behind this text should be ignored in forced colors
    mode.
  </div>
  <div id="adjustnone">
    The background image behind this text should NOT be ignored in forced
    colors mode.
  </div>
</body>