blob: f7942b53873531e6614d897ede6c5c1b9d564fb1 [file] [log] [blame]
<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>
<div id="div" contenteditable="true">foo<hr>bar<hr></div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
document.getElementById("div").focus();
document.execCommand("SelectAll");
document.execCommand("InsertUnorderedList");
</script>