summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01-ref.html
blob: dbd83a56fe8ba82fa3c16dc357d10115d99ec1a0 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test forced colors mode on table styles reference</title>
<style>
  body {
    forced-color-adjust: none;
  }
  table {
    border-collapse: collapse;
  }
  td, th {
    border: 1px solid;
    border-left-color: CanvasText;
    border-right-color: CanvasText;
    border-top-color: CanvasText;
    forced-color-adjust: none;
    padding: 8px;
    text-align: left;
  }
  tr:nth-child(even) {
    background-color: Canvas;
    color: CanvasText;
    forced-color-adjust: none;
  }
</style>
<body>
  <table>
    <tr>
      <th>Column1</th>
      <th>Column2</th>
      <th>Column3</th>
    </tr>
    <tr>
      <td>Entry1</td>
      <td>Entry1</td>
      <td>Entry1</td>
    </tr>
    <tr>
      <td>Entry2</td>
      <td>Entry2</td>
      <td>Entry2</td>
    </tr>
  </table>
</body>