blob: 2e599a030aa9785862b42d162775b77c6f1a9ae7 [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.layoutTestController)
window.layoutTestController.dumpAsText();
document.getElementById("div").focus();
document.execCommand("SelectAll");
document.execCommand("InsertUnorderedList");
</script>