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/munsell-video-chart.js"></script> | 4 <script src="resources/munsell-video-chart.js"></script> |
5 | 5 |
6 <style> | 6 <style> |
7 div { position: relative; top: -390px; left: 475px } | 7 div { position: relative; top: -390px; left: 475px } |
8 </style> | 8 </style> |
9 | 9 |
10 <!-- Color accuracy test case: you should not rebaseline this test. --> | 10 <!-- Color accuracy test case: you should not rebaseline this test. --> |
11 | 11 |
12 <body style="overflow: hidden"> | 12 <body style="overflow: hidden"> |
13 <img><p><canvas style="display:none;"></canvas></p> | 13 <img><p><canvas style="display:none;"></canvas></p> |
14 <div> | 14 <div> |
15 <pre id="log" style="font-size: 8.9pt"></pre> | 15 <pre id="log" style="font-size: 8.9pt"></pre> |
16 <div> | 16 <div> |
17 </body> | 17 </body> |
18 | 18 |
19 <script> | 19 <script> |
20 if (window.testRunner) { | 20 if (window.testRunner) { |
21 testRunner.dumpAsTextWithPixelResults(); | 21 testRunner.dumpAsTextWithPixelResults(); |
22 testRunner.waitUntilDone(); | 22 testRunner.waitUntilDone(); |
23 } | 23 } |
24 | 24 |
25 window.onload = function() { | 25 window.onload = function() { |
26 if (window.internals) | |
27 internals.settings.setImageColorProfilesEnabled(true); | |
28 | |
29 var cyanInTargetGamut = false; // BT.601 Cyan is outside the sRGB gamut. | 26 var cyanInTargetGamut = false; // BT.601 Cyan is outside the sRGB gamut. |
30 | 27 |
31 testImageColors('resources/munsell-bt601-smpte-c.png', cyanInTargetGamut); | 28 testImageColors('resources/munsell-bt601-smpte-c.png', cyanInTargetGamut); |
32 }; | 29 }; |
33 </script> | 30 </script> |
34 </html> | 31 </html> |
OLD | NEW |