summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/t421-rgb-clip-outside-gamut-b-ref.html
blob: 81bbc51c30ce47862252343ba9cded6d79bad411 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
  table { border-spacing: 0 2px; padding: 0; border: none; }
  td { border: none; padding: 0; height: 1.2em; }
</style>
<body>
  <p><strong>WARNING: This test assumes that the device gamut is sRGB
  (as it will be for many CRT monitors).</strong></p>
  <p>Every row in this table should have both columns the same color:</p>
  <table>
    <tr>
      <th style="background:white; color: black">Column 1</th>
      <th style="background:black; color: white">Column 2</th>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(0, 255, 0)">&nbsp;</td>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(0, 0, 255)">&nbsp;</td>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(0, 255, 0)">&nbsp;</td>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(0, 255, 0)">&nbsp;</td>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(0, 255, 0)">&nbsp;</td>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(0, 255, 0)">&nbsp;</td>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(50, 0, 255)">&nbsp;</td>
    </tr>
    <tr>
      <td colspan='2' style="background: rgb(0, 50, 255)">&nbsp;</td>
    </tr>
  </table>
</body>