| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 | 6 |
| 7 .container { | 7 .container { |
| 8 width: 300px; | 8 width: 300px; |
| 9 -webkit-animation: spin 18s infinite linear; | 9 -webkit-animation: spin 18s infinite linear; |
| 10 } | 10 } |
| 11 | 11 |
| 12 video { | 12 video { |
| 13 -webkit-box-reflect: below; | 13 -webkit-box-reflect: below; |
| 14 background-color: red; | 14 background-color: red; |
| 15 } | 15 } |
| 16 | 16 |
| 17 @-webkit-keyframes spin { | 17 @-webkit-keyframes spin { |
| 18 from { -webkit-transform: rotate(0); } | 18 from { transform: rotate(0); } |
| 19 to { -webkit-transform: rotate(0); } | 19 to { transform: rotate(0); } |
| 20 } | 20 } |
| 21 | 21 |
| 22 </style> | 22 </style> |
| 23 <script src="../resources/media-testing.js"></script> | 23 <script src="../resources/media-testing.js"></script> |
| 24 <script src="../../media/media-file.js"></script> | 24 <script src="../../media/media-file.js"></script> |
| 25 <script type="text/javascript" charset="utf-8"> | 25 <script type="text/javascript" charset="utf-8"> |
| 26 function testDone() | 26 function testDone() |
| 27 { | 27 { |
| 28 if (window.testRunner) | 28 if (window.testRunner) |
| 29 testRunner.notifyDone(); | 29 testRunner.notifyDone(); |
| 30 } | 30 } |
| 31 | 31 |
| 32 function doTest() | 32 function doTest() |
| 33 { | 33 { |
| 34 var video = document.getElementsByTagName('video')[0]; | 34 var video = document.getElementsByTagName('video')[0]; |
| 35 setupVideo(video, '../resources/video', testDone); | 35 setupVideo(video, '../resources/video', testDone); |
| 36 } | 36 } |
| 37 </script> | 37 </script> |
| 38 </head> | 38 </head> |
| 39 <body onload="doTest()"> | 39 <body onload="doTest()"> |
| 40 <p>You should see a reflected video below, rather than the red video backgroun
d.</p> | 40 <p>You should see a reflected video below, rather than the red video backgroun
d.</p> |
| 41 <div class="container"> | 41 <div class="container"> |
| 42 <video></video> | 42 <video></video> |
| 43 </div> | 43 </div> |
| 44 </body> | 44 </body> |
| 45 </html> | 45 </html> |
| OLD | NEW |