editor/reftests/caret_on_textarea_lastline.html
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 07 Nov 2013 10:37:44 +0900
changeset 167450 6e80754f7257de8f875e8f490b57c6d66276936c
parent 97457 42c372c2f7493b79f79c58150b5531d23e74ca61
permissions -rw-r--r--
Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps, a=lsblakk

<!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>