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>
5 if (window.layoutTestController)
6 window.layoutTestController.dumpAsText();
7 document.getElementById("div").focus();
8 document.execCommand("SelectAll");
9 document.execCommand("InsertUnorderedList");