editor/reftests/caret_on_textarea_lastline.html

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:2c1fa0468c0b
1 <!DOCTYPE html>
2 <html>
3 <body onload="loaded()">
4 <script>
5 function loaded() {
6 var t = document.querySelector('textarea');
7 t.selectionStart = t.selectionEnd = t.value.length;
8 t.focus();
9 }
10 </script>
11 <textarea>foo
12 </textarea>
13 </body>
14 </html>

mercurial