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

Side by Side Diff: third_party/WebKit/LayoutTests/media/color-profile-munsell-bt601-smpte-to-srgb.html

Issue 1629963005: Add new media image layout tests for video color profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 4 years, 11 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <script src="../resources/run-after-layout-and-paint.js"></script>
4 <script src="resources/munsell-video-chart.js"></script>
5
6 <style>
7 div { position: relative; top: -390px; left: 475px }
8 </style>
9
10 <!-- Color accuracy test case: you should not rebaseline this test. -->
11
12 <body style="overflow: hidden">
13 <img><p><canvas style="display:none;"></canvas></p>
14 <div>
15 <pre id="log" style="font-size: 8.9pt"></pre>
16 <div>
17 </body>
18
19 <script>
20 if (window.testRunner) {
21 testRunner.dumpAsTextWithPixelResults();
22 testRunner.waitUntilDone();
23 }
24
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.
30
31 testImageColors('resources/munsell-bt601-smpte-c.png', cyanInTargetGamut);
32 };
33 </script>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698