OLD | NEW |
---|---|
(Empty) | |
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() { | |
acolwell GONE FROM CHROMIUM
2014/04/03 17:44:34
nit: { on the next line.
qinmin
2014/04/03 18:35:35
Done.
| |
13 endTest(); | |
14 }); | |
15 | |
16 runWithKeyDown(function() { | |
acolwell GONE FROM CHROMIUM
2014/04/03 17:44:34
ditto
qinmin
2014/04/03 18:35:35
Done.
| |
17 video.webkitRequestFullScreen() | |
18 }); | |
19 </script> | |
20 | |
OLD | NEW |