summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/rec2020-003-ref.html
blob: da95008fcf417e4ad5841c32b2b58a7359b310c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: CSS Color 4: rec2020</title>
<style>
    body { background-color: grey; }
    .test { background-color: rgb(99.993% 100% 100%); width: 12em; height: 12em; } /* color(rec2020 1 1 1) converted to sRGB */
</style>
<body>
    <p>Test passes if you see a single square, and not two rectangles of different colors.</p>
    <div class="test"></div>
</body>