| 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 |
| 16 (Please avoid writing new tests using video-test.js) --> |
| 15 <script src=video-test.js></script> | 17 <script src=video-test.js></script> |
| 16 </head> | 18 </head> |
| 17 <body> | 19 <body> |
| 18 <video class="nocontrols" width=300 height=200 controls></video> | 20 <video class="nocontrols" width=300 height=200 controls></video> |
| 19 <video class="notimeline" width=300 height=200 controls></video> | 21 <video class="notimeline" width=300 height=200 controls></video> |
| 20 <script> | 22 <script> |
| 21 consoleWrite("I did not crash"); | 23 consoleWrite("I did not crash"); |
| 22 endTest(); | 24 endTest(); |
| 23 </script> | 25 </script> |
| 24 </body> | 26 </body> |
| 25 </html> | 27 </html> |
| OLD | NEW |