Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 4960120-1.html
blob1dba6859d771c90d519779fd179df2fd6655c261
1 <p>This tests for a bug where the first newline entered into a text area would be lost.</p>
2 <textarea id="textarea"></textarea>
4 <script>
5 var textarea = document.getElementById("textarea");
6 textarea.setSelectionRange(0, 0);
8 document.execCommand("InsertLineBreak");
9 </script>