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

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

Issue 2217463003: Color profile layout test cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <script src="../../resources/run-after-layout-and-paint.js"></script> 3 <script src="../../resources/run-after-layout-and-paint.js"></script>
4 <script src="resources/color-checker-munsell-chart.js"></script> 4 <script src="resources/color-checker-munsell-chart.js"></script>
5 5
6 <style id="some-for-manual-tests"> 6 <style id="some-for-manual-tests">
7 div { position: relative; top: -556px; left: 470px } 7 div { position: relative; top: -556px; left: 470px }
8 a:hover { background-color: #ccc } 8 a:hover { background-color: #ccc }
9 a:link { text-decoration: none } 9 a:link { text-decoration: none }
10 </style> 10 </style>
11 11
12 <!-- Color accuracy test case: you should not rebaseline this test. --> 12 <!-- Color accuracy test case: you should not rebaseline this test. -->
13 13
14 <body style="overflow: hidden"> 14 <body style="overflow: hidden">
15 <img><p><canvas></canvas></p> 15 <img><p><canvas></canvas></p>
16 <div> 16 <div>
17 <pre id="log" style="font-size: 9pt"></pre> 17 <pre id="log" style="font-size: 9pt"></pre>
18 <a href="http://www.brucelindbloom.com/index.html?ColorCheckerRGB.html"> 18 <a href="http://www.brucelindbloom.com/index.html?ColorCheckerRGB.html">
19 <pre>* Munsell Cyan is outside 255 sRGB gamut<pre></a> 19 <pre>* Munsell Cyan is outside 255 sRGB gamut<pre></a>
20 <div> 20 <div>
21 </body> 21 </body>
22 22
23 <script> 23 <script>
24 if (window.testRunner) { 24 if (window.testRunner) {
25 testRunner.dumpAsTextWithPixelResults(); 25 testRunner.dumpAsTextWithPixelResults();
26 testRunner.waitUntilDone(); 26 testRunner.waitUntilDone();
27 } 27 }
28 28
29 window.onload = function() { 29 window.onload = function() {
30 if (window.internals)
31 internals.settings.setImageColorProfilesEnabled(true);
32
33 testImageColors('resources/color-checker-srgb-color-profile.png'); 30 testImageColors('resources/color-checker-srgb-color-profile.png');
34 }; 31 };
35 </script> 32 </script>
36 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698