Index: third_party/WebKit/LayoutTests/fast/images/color-profile-munsell-srgb-to-srgb.html |
diff --git a/third_party/WebKit/LayoutTests/fast/images/color-profile-munsell-srgb-to-srgb.html b/third_party/WebKit/LayoutTests/fast/images/color-profile-munsell-srgb-to-srgb.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e85e6b82e8bd51aac98ee4e60b7b7aaf0fb595ad |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/images/color-profile-munsell-srgb-to-srgb.html |
@@ -0,0 +1,34 @@ |
+<!DOCTYPE html> |
+<html> |
+<script src="../../resources/run-after-layout-and-paint.js"></script> |
+<script src="resources/color-checker-munsell-chart.js"></script> |
+ |
+<style> |
+ div { position: relative; top: -556px; left: 470px } |
+ a:hover { background-color: #ccc } |
+ a:link { text-decoration: none } |
Justin Novosad
2015/12/15 21:10:59
the style block has non-trivial style which, at fi
Noel Gordon
2015/12/16 05:00:31
Mostly relevant to manual testing; this test is de
|
+</style> |
+ |
+<body style="overflow: hidden"> |
Justin Novosad
2015/12/15 21:10:58
why this style?
Noel Gordon
2015/12/16 05:00:31
To constrain the results to 800 x 600 due to some
|
+ <img><p><canvas></canvas></p> |
+ <div> |
+ <pre id="log" style="font-size: 9pt"></pre> |
Justin Novosad
2015/12/15 21:10:58
Why this style?
Noel Gordon
2015/12/16 05:00:31
Mentioned above.
|
+ <a href="http://www.brucelindbloom.com/index.html?ColorCheckerRGB.html"> |
Justin Novosad
2015/12/15 21:10:59
I don't think it is a good idea to write tests tha
Noel Gordon
2015/12/16 05:00:31
Tend to agree, it's not something I would ordinari
|
+ <pre>* Munsell Cyan is outside 255 sRGB gamut<pre></a> |
+ <div> |
+</body> |
+ |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsTextWithPixelResults(); |
+ testRunner.waitUntilDone(); |
+} |
+ |
+window.onload = function() { |
+ if (window.internals) |
+ internals.settings.setImageColorProfilesEnabled(true); |
+ |
+ testImageColors('resources/color-checker-srgb-color-profile.png'); |
+}; |
+</script> |
+</html> |