OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <style> |
| 4 .t0 { -webkit-transform: translate(-60px, 0px) } |
| 5 .t1 { -webkit-transform: translate(405px, 0px) } |
| 6 .t2 { top: -462px; left: 240px; -webkit-transform: rotate(-90deg) } |
| 7 |
| 8 img { |
| 9 position: absolute; clip: rect(30px, 300px, 240px, 90px) |
| 10 } |
| 11 </style> |
| 12 |
| 13 <body style="overflow: hidden"> |
| 14 <!-- There should be no red on this page. --> |
| 15 <img onload="load()" src="resources/red-at-12-oclock-with-color-profile.jpg" c
lass="t0"> |
| 16 <img onload="load()" src="resources/red-at-12-oclock-with-color-profile.png" c
lass="t1"> |
| 17 <img onload="load()" src="resources/red-at-12-oclock-with-color-profile.jpg" c
lass="t2"> |
| 18 </body> |
| 19 |
| 20 <script> |
| 21 var images = 0; |
| 22 |
| 23 function load() { |
| 24 if (++images == 3 && window.testRunner) |
| 25 testRunner.setColorProfile('test', done); |
| 26 } |
| 27 |
| 28 function done() { |
| 29 setTimeout(function() { testRunner.notifyDone() }, 0); |
| 30 } |
| 31 |
| 32 if (window.testRunner) { |
| 33 testRunner.dumpAsTextWithPixelResults(); |
| 34 testRunner.waitUntilDone(); |
| 35 } |
| 36 </script> |
| 37 </html> |
OLD | NEW |