| 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="../images/resources/red-at-12-oclock-with-color-profile.jpg" /> | 18 <video poster="../images/resources/red-at-12-oclock-with-color-profile.jpg" /> |
| 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('colorSpin', done) }, 100
); | 24 setTimeout(function() { testRunner.notifyDone() }, 0); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 function done() { | |
| 28 setTimeout(function() { testRunner.notifyDone() }, 0); | |
| 29 } | |
| 30 | |
| 31 if (window.testRunner) { | 27 if (window.testRunner) { |
| 32 testRunner.dumpAsTextWithPixelResults(); | 28 testRunner.dumpAsTextWithPixelResults(); |
| 33 testRunner.waitUntilDone(); | 29 testRunner.waitUntilDone(); |
| 34 } | 30 } |
| 35 </script> | 31 </script> |
| 36 </html> | 32 </html> |
| OLD | NEW |