| 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 | 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 Loading... |
| 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> |
| OLD | NEW |