| <!DOCTYPE html> |
| <p>Test that fullscreen video should not be affected by transform.</p> |
| <video id="video" width="300" style="transform:scale(0.8, 0.8) translate(-200px, -100px);" allowfullscreen></video> |
| <script> |
| if (window.internals) |
| runPixelTests = true; |
| </script> |
| <script src="full-screen-test.js"></script> |
| <script> |
| var video = document.getElementById('video'); |
| |
| waitForEvent(document, 'webkitfullscreenchange', function() |
| { |
| endTest(); |
| }); |
| |
| runWithKeyDown(function() |
| { |
| video.webkitRequestFullScreen(); |
| }); |
| </script> |
| |