Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-crash-offsetLeft.html
blob74e850112ef5a57a4db5858f669759eb595796ce
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <video></video>
5 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=89785">Bug 89785</a>: REGRESSION(r116446): Crash in LayoutBoxModelObject::adjustedPositionRelativeToOffsetParent</p>
6 <script src="full-screen-test.js"></script>
7 <script>
8 if (!window.testRunner)
9 consoleWrite("To manually test this bug, switch to fullscreen. It shouldn't crash.");
11 video = document.getElementsByTagName("video")[0];
12 var fullscreenChanged = function(event)
14 video.offsetLeft;
15 video.offsetTop;
16 consoleWrite("PASSED, the page didn't crash.");
17 endTest();
19 document.addEventListener('webkitfullscreenchange', fullscreenChanged);
21 runWithKeyDown(function () {
22 video.webkitRequestFullScreen();
23 });
24 </script>
25 </body>
26 </html>