Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / delete-hidden-crash.html
blob02b9dc4ebeaa23c9de925d448fafd540bf2ef318
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 onload = function() {
9 document.execCommand('SelectAll')
10 span = document.getElementsByTagName('span')[0];
11 span.contentEditable = 'true';
12 span.textContent = 'bar';
13 document.execCommand('InsertText', false, '1');
14 document.body.textContent = 'PASS if Blink doesn\'t crash.';
16 </script>
17 <style>
18 * { visibility:visible; }
19 .inline { display:inline; }
20 *:only-child { visibility:hidden; }
21 </style>
22 </head>
23 <body>
24 <table>
25 <tr><td><span><table></table><span></span></span></td></tr>
26 <tr><td><td class="inline">foo</td></tr>
27 </table>
28 </body>
29 </html>