| var runPixelTests = true; |
| // 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"); |
| waitForEventAndEnd(document, 'webkitfullscreenchange'); |
| runWithKeyDown(goFullScreen); |
| function goFullScreen() { |
| document.getElementById('video').webkitRequestFullScreen(); |
| <script src="full-screen-test.js"></script> |
| -webkit-transform: rotate(180); |
| -webkit-mask: -webkit-linear-gradient(left, alpha 0%, white 100%); |
| -webkit-filter: contrast(100%); |
| clip:rect(0px,100px,100px,0px); |
| -webkit-box-reflect: below; |
| -webkit-transform-style: preserve-3d; |
| -webkit-perspective: 300; |
| <div>This tests that a full screen element in a lower stacking context blocks a sibling in a higher stacking context. |
| After entering full screen mode, only a black box should be visible. |
| Click <button onclick="goFullScreen()">go full screen</button> to run the test.</div> |
| <video id="video"></video> |