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