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

Side by Side Diff: third_party/WebKit/LayoutTests/media/color-profile-munsell-bt601-smpte-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/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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698