blob: 4ffcb2911f494e5acfee08fe63a24c443a86f191 [file] [log] [blame]
<body>
Overlay fullscreen video should remove fixed background layer.
<video id="video"></video>
<script>
if (window.internals)
runPixelTests = true;
</script>
<script src="../../../fullscreen/full-screen-test.js"></script>
<script src="../../../media/media-file.js"></script>
<script src="../../../media/media-controls.js"></script>
<script>
setSrcById("video", "../../../media/content/test.ogv");
var video = document.getElementById('video');
enableTestMode(video);
// Bail out early if the full screen API is not enabled or is missing:
if (Element.prototype.webkitRequestFullScreen == undefined) {
logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
endTest();
} else {
waitForEventOnceAndEnd(document, 'webkitfullscreenchange');
runWithKeyDown(function(){video.webkitRequestFullScreen()});
}
</script>
</body>