OLD | NEW |
1 <!DOCTYPE HTML5> | 1 <!DOCTYPE HTML5> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <title>'poster' aspect ratio test</title> | 5 <title>'poster' aspect ratio test</title> |
| 6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 7 (Please avoid writing new tests using video-test.js) --> |
6 <script src=video-test.js></script> | 8 <script src=video-test.js></script> |
7 <style> | 9 <style> |
8 video { | 10 video { |
9 border: 3px solid red; | 11 border: 3px solid red; |
10 background-color: #ee00ee; | 12 background-color: #ee00ee; |
11 } | 13 } |
12 #wide { width: 320px; height: 150px; } | 14 #wide { width: 320px; height: 150px; } |
13 #tall { width: 150px; height: 320px; } | 15 #tall { width: 150px; height: 320px; } |
14 #big { width: 320px; height: 240px; } | 16 #big { width: 320px; height: 240px; } |
15 #skinny { width: 50px; height: 320px; } | 17 #skinny { width: 50px; height: 320px; } |
16 #short { width: 320px; height: 50px; } | 18 #short { width: 320px; height: 50px; } |
17 #just_right { width: 76px; height: 103px; } | 19 #just_right { width: 76px; height: 103px; } |
18 </style> | 20 </style> |
19 <script> | 21 <script> |
20 var videos; | 22 var videos; |
21 function start() | 23 function start() |
(...skipping 14 matching lines...) Expand all Loading... |
36 <video poster="content/abe.png" id=wide></video> | 38 <video poster="content/abe.png" id=wide></video> |
37 <br> | 39 <br> |
38 <video poster="content/abe.png" id=just_right></video> | 40 <video poster="content/abe.png" id=just_right></video> |
39 <video poster="content/abe.png" id=no-style></video> | 41 <video poster="content/abe.png" id=no-style></video> |
40 <br> | 42 <br> |
41 <video poster="content/abe.png" id=skinny></video> | 43 <video poster="content/abe.png" id=skinny></video> |
42 <video poster="content/abe.png" id=big></video> | 44 <video poster="content/abe.png" id=big></video> |
43 <video poster="content/abe.png" id=short></video> | 45 <video poster="content/abe.png" id=short></video> |
44 <br> | 46 <br> |
45 </body> | 47 </body> |
46 </html> | 48 </html> |
OLD | NEW |