Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | 1 <!DOCTYPE html> |
| 2 "http://www.w3.org/TR/html4/strict.dtd"> | 2 <title>overloading controls CSS doesn't crash</title> |
|
mstensho (USE GERRIT)
2014/10/29 10:12:21
Title not necessary.
Also, I really think it woul
rune
2014/10/29 10:14:18
Drop <title> and make it a <p> to describe the pas
| |
| 3 | 3 <style> |
| 4 <html> | 4 ::-webkit-media-controls { |
| 5 <head> | 5 display: inline; |
| 6 <title>Testing that overloading some controls doesn't crash the browser</tit le> | 6 } |
| 7 <style> | 7 ::-webkit-media-controls-panel { |
| 8 .nocontrols::-webkit-media-controls-panel{ | 8 display: none; |
| 9 display:none; | 9 } |
| 10 } | 10 ::-webkit-media-controls-timeline-container { |
| 11 .notimeline::-webkit-media-controls-timeline-container{ | 11 display: none; |
| 12 display:none; | 12 } |
| 13 } | 13 </style> |
| 14 </style> | 14 <video controls></video> |
| 15 <script src=video-test.js></script> | |
| 16 </head> | |
| 17 <body> | |
| 18 <video class="nocontrols" width=300 height=200 controls></video> | |
| 19 <video class="notimeline" width=300 height=200 controls></video> | |
| 20 <script> | |
| 21 consoleWrite("I did not crash"); | |
| 22 endTest(); | |
| 23 </script> | |
| 24 </body> | |
| 25 </html> | |
| OLD | NEW |