| <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> |