OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <p>Test that fullscreen video should not be affected by webkit-transform.</p> | |
3 <video id="video" allowfullscreen></video> | 2 <video id="video" allowfullscreen></video> |
4 <script> | 3 <script> |
5 if (window.internals) | 4 if (window.internals) |
6 runPixelTests = true; | 5 runPixelTests = true; |
7 </script> | 6 </script> |
8 <script src="full-screen-test.js"></script> | 7 <script src="full-screen-test.js"></script> |
9 <script> | 8 <script> |
10 var video = document.getElementById('video'); | 9 var video = document.getElementById('video'); |
11 | 10 |
12 waitForEvent(document, 'webkitfullscreenchange', function() | 11 waitForEvent(document, 'webkitfullscreenchange', function() |
13 { | 12 { |
14 endTest(); | 13 endTest(); |
15 }); | 14 }); |
16 | 15 |
17 runWithKeyDown(function() | 16 runWithKeyDown(function() |
18 { | 17 { |
19 video.webkitRequestFullScreen(); | 18 video.webkitRequestFullScreen(); |
20 }); | 19 }); |
21 </script> | 20 </script> |
22 | 21 |
OLD | NEW |