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