5 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=89785">Bug 89785</a>: REGRESSION(r116446): Crash in RenderBoxModelObject::adjustedPositionRelativeToOffsetParent</p>
6 <script src="full-screen-test.js"></script>
8 if ("webkitRequestFullScreen" in Element.prototype) {
9 if (!window.testRunner)
10 consoleWrite("To manually test this bug, switch to fullscreen. It shouldn't crash.");
12 video = document.getElementsByTagName("video")[0];
13 var fullscreenChanged = function(event)
17 consoleWrite("PASSED, the page didn't crash.");
20 document.addEventListener('webkitfullscreenchange', fullscreenChanged);
22 runWithKeyDown(function () {
23 video.webkitRequestFullScreen();
26 consoleWrite("FAILED, couldn't find webkitRequestFullScreen.");