chromium/third_party/blink/web_tests/editing/input/scroll-to-edge-if-line-break-at-end-of-document-textarea.html

<!DOCTYPE html>
<head>
<script type="text/javascript" src="resources/reveal-utilities.js"></script>
</head>
<body>
<div>When the caret is scrolled out and resides at the end of the textarea,
on pressing &quot;Return&quot; it must be scrolled to the bottom of the view,
not to the center to avoid undesirable content view jumping.</div>
<div style="overflow:auto;height:1000px;">
  <textarea rows="50" cols="20" id="input"></textarea>
</div>
<script>
if (window.testRunner)
   testRunner.dumpAsText();

performJumpAtTheEdgeTest();

</script>
</body>