OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <style> |
| 4 img { border: 1px solid transparent } |
| 5 </style> |
| 6 |
| 7 <body> |
| 8 <!-- The blue sector of the images should be at 12 o'clock. --> |
| 9 <img width="250px" onload="load()" src="resources/webp-color-profile-lossy.web
p"> |
| 10 <img width="250px" onload="load()" src="resources/red-at-12-oclock-with-color-
profile.png"> |
| 11 <img width="250px" onload="load()" src="resources/red-at-12-oclock-with-color-
profile.jpg"> |
| 12 <img width="250px" onload="load()" src="resources/webp-color-profile-lossy.web
p"> |
| 13 <img width="250px" onload="load()" src="resources/red-at-12-oclock-with-color-
profile.png"> |
| 14 <img width="250px" onload="load()" src="resources/red-at-12-oclock-with-color-
profile.jpg"> |
| 15 </body> |
| 16 |
| 17 <script> |
| 18 var images = 0; |
| 19 |
| 20 function load() { |
| 21 if (++images == 6 && window.testRunner) |
| 22 testRunner.setColorProfile('test', done); |
| 23 } |
| 24 |
| 25 function done() { |
| 26 setTimeout(function() { testRunner.notifyDone() }, 0); |
| 27 } |
| 28 |
| 29 if (window.testRunner) { |
| 30 testRunner.dumpAsTextWithPixelResults(); |
| 31 testRunner.waitUntilDone(); |
| 32 } |
| 33 </script> |
| 34 </html> |
OLD | NEW |