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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/color-profile-image-profile-match.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 4
5 <style> 5 <style>
6 img { width: 258px } 6 img { width: 258px }
7 </style> 7 </style>
8 8
9 <body style="overflow: hidden"> 9 <body style="overflow: hidden">
10 <!-- The blue sector of the images should be at 12 o'clock. --> 10 <!-- The blue sector of the images should be at 12 o'clock. -->
(...skipping 15 matching lines...) Expand all
26 /* The test images have an sRGB color profile and so should pass through 26 /* The test images have an sRGB color profile and so should pass through
27 * color correction unchanged if the output device profile is sRGB. 27 * color correction unchanged if the output device profile is sRGB.
28 */ 28 */
29 testRunner.setColorProfile('sRGB', done); 29 testRunner.setColorProfile('sRGB', done);
30 } 30 }
31 31
32 function done() { 32 function done() {
33 setTimeout(function() { testRunner.notifyDone() }, 0); 33 setTimeout(function() { testRunner.notifyDone() }, 0);
34 } 34 }
35 35
36 if (window.internals)
37 internals.settings.setImageColorProfilesEnabled(true);
38
39 if (window.testRunner) { 36 if (window.testRunner) {
40 testRunner.dumpAsTextWithPixelResults(); 37 testRunner.dumpAsTextWithPixelResults();
41 testRunner.waitUntilDone(); 38 testRunner.waitUntilDone();
42 } 39 }
43 </script> 40 </script>
44 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698