OLD | NEW |
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-adobe-color-profile.png'); | 30 testImageColors('resources/color-checker-adobe-color-profile.png'); |
34 }; | 31 }; |
35 </script> | 32 </script> |
36 </html> | 33 </html> |
OLD | NEW |