| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title><video> element with poster size test</title> | 3 <title><video> element with poster size 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> | 7 <script> |
| 6 var posterInfo = | 8 var posterInfo = |
| 7 { | 9 { |
| 8 current:0, | 10 current:0, |
| 9 posters: | 11 posters: |
| 10 [ | 12 [ |
| 11 { | 13 { |
| 12 description:", with 'width' and 'height' attributes", | 14 description:", with 'width' and 'height' attributes", |
| 13 url:null, | 15 url:null, |
| 14 reflectedUrl:"", | 16 reflectedUrl:"", |
| 15 width:320, | 17 width:320, |
| 16 height:240 | 18 height:240 |
| 17 }, | 19 }, |
| 18 { | 20 { |
| 19 description:", size should equal image size", | 21 description:", size should equal image size", |
| 20 url:"content/greenbox.png", | 22 url:"content/greenbox.png", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 133 } |
| 132 </script> | 134 </script> |
| 133 </head> | 135 </head> |
| 134 | 136 |
| 135 <body> | 137 <body> |
| 136 <video controls width=320 height=240></video> | 138 <video controls width=320 height=240></video> |
| 137 <p>Test <video> element with and without a poster.</p> | 139 <p>Test <video> element with and without a poster.</p> |
| 138 <script>setup();</script> | 140 <script>setup();</script> |
| 139 </body> | 141 </body> |
| 140 </html> | 142 </html> |
| OLD | NEW |