Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fullscreen / video-webkit-transform.html
1 <!DOCTYPE html>
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>
4 <script>
5     if (window.internals)
6         runPixelTests = true;
7 </script>
8 <script src="full-screen-test.js"></script>
9 <script>
10     var video = document.getElementById('video');
11
12     waitForEvent(document, 'webkitfullscreenchange', function()
13     {
14         endTest();
15     });
16
17     runWithKeyDown(function()
18     {
19         video.webkitRequestFullScreen();
20     });
21 </script>
22