Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / textfield-no-linebreak-expected.html
blob5fdb444f948c2981c698e61ec1903eec925707a3
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Test that firing a \n char event at a text field doesn't insert line breaks. To
5 run the test manually, ensure that the input field below is not focused, and
6 hit enter. The test passes, if the caret stays inside the input field.<br>
7 <input type="text"></input>
8 <script>document.querySelector('input').focus();</script>
9 </body>
10 </html>