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