summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/srgb-linear-003-ref.html
blob: 9de25f6ba06ba86bb2be724d5955778376802819 (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: srgb-linear</title>
<style>
    body { background-color: grey; }
    .test { background-color: color(srgb 1 1 1); width: 12em; height: 12em; } /* color(srgb-linear 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>