blob: 0d9130642efb061ba2d0503addd5ac131129c4e5 [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)
testRunner.dumpAsText();
document.getElementById("div").focus();
document.execCommand("SelectAll");
document.execCommand("InsertUnorderedList");
</script>