- add third_party src.
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fullscreen / full-screen-line-boxes-crash.html
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     if (Element.prototype.webkitRequestFullScreen == undefined) {
10         logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
11         endTest();
12     } else {
13         var fullscreenChanged = function(event)
14         {
15             callback(event)
16         };
17         waitForEventOnce(document, "webkitfullscreenchange", fullscreenChanged);
18         var span = document.getElementsByTagName('span')[0];
19         var spanEnteredFullScreen = function() {
20             runWithKeyDown(function() { document.documentElement.webkitRequestFullScreen(); });
21             setTimeout("endTest()", 0);
22         };
23
24         callback = spanEnteredFullScreen;
25         runWithKeyDown(function() { span.webkitRequestFullScreen(); });
26     }
27 </script>
28 </body>
29 </html>