OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 "http://www.w3.org/TR/html4/strict.dtd"> | 2 "http://www.w3.org/TR/html4/strict.dtd"> |
3 | 3 |
4 <html> | 4 <html> |
5 <head> | 5 <head> |
6 <title>Testing that overloading some controls doesn't crash the browser</tit
le> | 6 <title>Testing that overloading some controls doesn't crash the browser</tit
le> |
7 <style> | 7 <style> |
8 .nocontrols::-webkit-media-controls-panel{ | 8 .nocontrols::-webkit-media-controls-panel{ |
9 display:none; | 9 display:none; |
10 } | 10 } |
11 .notimeline::-webkit-media-controls-timeline-container{ | 11 .notimeline::-webkit-media-controls-timeline-container{ |
12 display:none; | 12 display:none; |
13 } | 13 } |
14 </style> | 14 </style> |
15 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 15 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
16 (Please avoid writing new tests using video-test.js) --> | 16 (Please avoid writing new tests using video-test.js) --> |
17 <script src=video-test.js></script> | 17 <script src=video-test.js></script> |
18 </head> | 18 </head> |
19 <body> | 19 <body> |
20 <video class="nocontrols" width=300 height=200 controls></video> | 20 <video class="nocontrols" width=300 height=200 controls></video> |
21 <video class="notimeline" width=300 height=200 controls></video> | 21 <video class="notimeline" width=300 height=200 controls></video> |
22 <script> | 22 <script> |
23 consoleWrite("I did not crash"); | 23 consoleWrite("I did not crash"); |
24 endTest(); | 24 endTest(); |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |