Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5458246.html
blobf7942b53873531e6614d897ede6c5c1b9d564fb1
1 <p>This tests for a hang when creating a list out of several paragraphs, one of which is a horizontal rule. You should see four list items below, the second and the fourth should contain horizontal rules.</p>
2 <div id="div" contenteditable="true">foo<hr>bar<hr></div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
7 document.getElementById("div").focus();
8 document.execCommand("SelectAll");
9 document.execCommand("InsertUnorderedList");
10 </script>