| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title><video> element size and resize test</title> | 3 <title><video> element size and resize test</title> |
| 4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 5 (Please avoid writing new tests using video-test.js) --> |
| 4 <script src=video-test.js></script> | 6 <script src=video-test.js></script> |
| 5 <script src=media-file.js></script> | 7 <script src=media-file.js></script> |
| 6 | 8 |
| 7 <script> | 9 <script> |
| 8 var movieInfo = | 10 var movieInfo = |
| 9 { | 11 { |
| 10 current:0, | 12 current:0, |
| 11 movies: | 13 movies: |
| 12 [ | 14 [ |
| 13 { | 15 { |
| 14 src:null, | 16 src:null, |
| 15 poster:null, | 17 poster:null, |
| 16 description:"no 'src' and no 'poster', with 'width' and
'height' attributes", | 18 description:"no 'src' and no 'poster', with 'width' and
'height' attributes", |
| 17 width:640, | 19 width:640, |
| 18 height:480, | 20 height:480, |
| 19 videoWidth:0, | 21 videoWidth:0, |
| 20 videoHeight:0 | 22 videoHeight:0 |
| 21 }, | 23 }, |
| 22 { | 24 { |
| 23 src:null, | 25 src:null, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 </script> | 122 </script> |
| 121 </head> | 123 </head> |
| 122 | 124 |
| 123 <body onload="setTimeout(test, 100)"> | 125 <body onload="setTimeout(test, 100)"> |
| 124 | 126 |
| 125 <video controls width=640 height=480 onloadedmetadata="testMovie()"></vi
deo> | 127 <video controls width=640 height=480 onloadedmetadata="testMovie()"></vi
deo> |
| 126 <p>Test <video> element size with and without 'src' and 'poster' a
ttributes.</p> | 128 <p>Test <video> element size with and without 'src' and 'poster' a
ttributes.</p> |
| 127 | 129 |
| 128 </body> | 130 </body> |
| 129 </html> | 131 </html> |
| OLD | NEW |