summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/tagged-images-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-color/tagged-images-002.html')
-rw-r--r--testing/web-platform/tests/css/css-color/tagged-images-002.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/tagged-images-002.html b/testing/web-platform/tests/css/css-color/tagged-images-002.html
new file mode 100644
index 0000000000..b7c76b3550
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color/tagged-images-002.html
@@ -0,0 +1,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/#11sRGB">
+<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 #009900 PNG image, sRGB chunk, relative colorimetric -->
+ <p><img src="./support/009900-sRGB.png" alt="should be green"/></p>
+</body> \ No newline at end of file