Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / crash-replacing-list-by-list.html
blobe06fd32c114b2b0670bf095fefee9ff4d0f16416
1 <!DOCTYPE html>
2 <body>
3 PASS if Blink doesn't crash.
4 <div id="sample" contenteditable="true"><ol><li><br></li></ol></div>
5 </body>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 var sample = document.getElementById('sample');
10 getSelection().selectAllChildren(sample);
11 document.execCommand('InsertHTML', false, '<ul>');
12 sample.outerHTML = '';
13 </script>