blob: b6441b255db25b487b6264b270610e0db281c649 [file] [log] [blame]
<p>This tests for a crash in InsertParagraph when inserting next to an input field or form control. You should see two input fields below in separate paragraphs.</p>
<div id="div" contenteditable="true"><input type="text"><input type="text"></div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
div = document.getElementById("div");
window.getSelection().setPosition(div, 1);
document.execCommand("InsertParagraph");
</script>