Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fullscreen / full-screen-line-boxes-crash.html
blob7b46f4514f364d5eff1d54be8df2c73930015e09
1 <!DOCTYPE html>
2 <html>
3 <body style="-webkit-columns: 30;">
4 PASS.
5 <bdi>
6 <span style="margin-top: 1em;">WebKit didn't crash.
7 <script src="full-screen-test.js"></script>
8 <script>
9 var fullscreenChanged = function(event)
11 callback(event)
13 waitForEventOnce(document, "webkitfullscreenchange", fullscreenChanged);
14 var span = document.getElementsByTagName('span')[0];
15 var spanEnteredFullScreen = function() {
16 runWithKeyDown(function() { document.documentElement.webkitRequestFullScreen(); });
17 setTimeout("endTest()", 0);
20 callback = spanEnteredFullScreen;
21 runWithKeyDown(function() { span.webkitRequestFullScreen(); });
22 </script>
23 </body>
24 </html>