tenfourfox/editor/reftests/caret_on_textarea_lastline-ref.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

14 lines
253 B
HTML

<!DOCTYPE html>
<html>
<body onload="loaded()">
<script>
function loaded() {
var t = document.querySelector('textarea');
t.selectionStart = t.selectionEnd = t.value.length;
t.focus();
}
</script>
<textarea>foo</textarea>
</body>
</html>