summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25-ref.html
blob: 9c626ae768676c155459e90a75e2bd4fdda02867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - atomic inline reference.
  Ensures that background images are not overridden for atomic inlines.
</title>
<style>
  body {
    forced-color-adjust: none;
  }
  div {
    background-image: url("resources/test-image.jpg");
    height: 150px;
    width: 150px;
  }
</style>
<body>
  <p>Four images should appear below with forced colors mode enabled and disabled.</p>
  <div style="display: inline-block;"></div>
  <div style="display: inline-flex;"></div>
  <div style="display: inline-grid;"></div>
  <div style="display: inline-table;"></div>
</body>