summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html
blob: 5c4a09e4226e8e6109a1a136abcffb058f55ad68 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>
  Forced colors mode.
  Tests that inline images are ignored in forced colors mode when
  forced-color-adjust is auto.
</title>
<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-colors-properties">
<link rel=match href="forced-colors-mode-19-ref.html">
<style>
  div {
    background-image: url("resources/test-image.jpg");
    display: inline;
  }
  #adjustnone {
    forced-color-adjust: none;
  }
</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>