OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <video></video> | |
3 <script> | 2 <script> |
4 var runPixelTests = true; | 3 var runPixelTests = true; |
| 4 |
| 5 function init() { |
| 6 waitForEventAndEnd(document, 'webkitfullscreenchange'); |
| 7 runWithKeyDown(function() { |
| 8 document.getElementById('video').webkitRequestFullScreen(); |
| 9 }); |
| 10 } |
5 </script> | 11 </script> |
6 <script src="full-screen-test.js"></script> | 12 <script src="full-screen-test.js"></script> |
7 <script> | 13 <style> |
8 document.onwebkitfullscreenchange = endTest; | 14 #video { |
9 runWithKeyDown(function() { | 15 background-color: black; |
10 document.querySelector("video").webkitRequestFullScreen(); | 16 } |
11 }); | 17 </style> |
12 </script> | 18 <body onload="init()"> |
| 19 <video id='video'></video> |
| 20 </body> |
OLD | NEW |