Bug 1835241 - Part 6: Use the same parameter names at definition and declaration...
[gecko.git] / editor / reftests / caret_on_textarea_lastline.html
blob24a53bd7d4a5c5d565454f35c8561657d7107472
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();
10 </script>
11 <textarea>foo
12 </textarea>
13 </body>
14 </html>