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