summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29-ref.html
blob: 825f63ae85b2be93829f0fc3895d521e6e969250 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test forced colors mode on table styles with sys colors</title>
<style>
  table {
    border-collapse: collapse;
    forced-color-adjust: none;
  }
  td, th {
    border: 1px solid LinkText;
    padding: 8px;
    text-align: left;
  }
  tr:nth-child(even) {
    background-color: CanvasText;
  }
  tr:nth-child(odd) {
    color: Canvas;
    text-decoration: underline;
    text-decoration-color: LinkText;
    text-emphasis: '*' LinkText;
    -webkit-text-emphasis: '*' LinkText;
  }
</style>
<table>
  <tr>
    <th>Column</th>
    <th>Column</th>
    <th>Column</th>
  </tr>
  <tr>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td>Entry</td>
    <td>Entry</td>
    <td>Entry</td>
  </tr>
</table>