https://github.com/web-platform-tests/wpt
Raw File
Tip revision: add926c9ab105c2ae283dbd4045bc0918add1d71 authored by Anne van Kesteren on 27 August 2018, 16:32:58 UTC
add more tests
Tip revision: add926c
t421-rgb-clip-outside-gamut-b-ref.html
<!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>
back to top