Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: third_party/WebKit/LayoutTests/fast/images/color-profile-munsell-srgb-to-srgb.html

Issue 1523243002: [qcms] Apply qcms color matching api to Blink images (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update TestExpectations, add sRGB to sRGB layout test Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698