Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / apply-style-command-crash.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner) {
6     testRunner.dumpAsText();
7     testRunner.waitUntilDone();
8 }
9
10 onload = function() {
11     x.innerHTML += '';
12     document.designMode = 'on';
13     document.execCommand('selectall');
14     document.execCommand('bold');
15     document.body.offsetTop;
16     document.body.innerHTML = "PASS. WebKit didn't crash";
17     if (window.testRunner)
18         testRunner.notifyDone();
19 }
20 </script>
21 </head>
22 <body>
23 <div id="x">
24 <iframe src="data:"></iframe>
25 <div>
26 <input></input>
27 </div>
28 </ul>
29 </body>
30 </html>
31