| <body style="background:linear-gradient(red,yellow); background-attachment:fixed;"> |
| 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> |
| setSrcById("video", findMediaFile("video", "../../../media/content/test")); |
| var video = document.getElementById('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 { |
| waitForEventAndEnd(document, 'webkitfullscreenchange'); |
| runWithKeyDown(function(){video.webkitRequestFullScreen()}); |
| } |
| </script> |
| </body> |