summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/tagged-images-001.html
blob: 0af9c0ce51e109588772a291e7b0250549c7fbe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: Color Space of Tagged Images. HTML img</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#tagged-images">
<link rel="help" href="https://w3c.github.io/PNG-spec/#11iCCP">
<meta name="assert" content="Tagged RGB images... if the color profile or other identifying information is valid, must be treated as being in the specified color space.">
<link rel="match" href="009900-image-ref.html">

<body>
    <p>Test passes if you see a green square, and no red.</p>
    <!-- solid color #990000 PNG image, iCCP with v2 ICC swapped red-green sRGB profile -->
    <p><img src="./support/swap-990000-iCCP.png" alt="should be green"/></p>
</body>