OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <style> |
| 5 video { |
| 6 outline: 15px solid blue; |
| 7 border: 15px solid green; |
| 8 background: orange; |
| 9 margin: 20px; |
| 10 padding: 15px; |
| 11 width: 300px; |
| 12 } |
| 13 </style> |
| 14 </head> |
| 15 |
| 16 <body onload="start()"> |
| 17 <!-- The blue sector of the video poster image should be at 12 o'clock. --> |
| 18 <video poster="../fast/images/resources/red-at-12-oclock-with-color-profile.jp
g" /> |
| 19 </body> |
| 20 |
| 21 <script> |
| 22 window.onload = function() { |
| 23 if (window.testRunner) |
| 24 setTimeout(function() { testRunner.setColorProfile('whacked', done) }, 100); |
| 25 }; |
| 26 |
| 27 function done() { |
| 28 setTimeout(function() { testRunner.notifyDone() }, 0); |
| 29 } |
| 30 |
| 31 if (window.internals) |
| 32 internals.settings.setImageColorProfilesEnabled(true); |
| 33 |
| 34 if (window.testRunner) { |
| 35 testRunner.dumpAsTextWithPixelResults(); |
| 36 testRunner.waitUntilDone(); |
| 37 } |
| 38 </script> |
| 39 </html> |
OLD | NEW |