blob: 1dba6859d771c90d519779fd179df2fd6655c261 [file] [log] [blame]
<p>This tests for a bug where the first newline entered into a text area would be lost.</p>
<textarea id="textarea"></textarea>
<script>
var textarea = document.getElementById("textarea");
textarea.setSelectionRange(0, 0);
document.execCommand("InsertLineBreak");
</script>