blob: 1c55b28f8b96c8c02f38cffe1e3b2ae41bdffd62 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpEditingCallbacks();
</script>
<p>This test pushes a horizontal rule into an unordered list with InsertUnorderedList. <b>This demonstrates what might be a bug:</b> the horizontal rule appears before the list marker in the render tree.</p>
<div contenteditable="true" id="div"><hr></div>
<script>
var div = document.getElementById("div");
var sel = window.getSelection();
sel.collapse(div, 0);
document.execCommand("InsertUnorderedList");
</script>