gecko-dev/layout/base/tests/bug634406-1-ref.html

11 строки
201 B
HTML

<!DOCTYPE HTML><html>
<body>
<textarea>ab</textarea>
<script>
var t = document.querySelector("textarea");
t.focus();
t.selectionStart = t.selectionEnd = t.value.length;
</script>
</body>
</html>