blob: a6199c5f7b2b4be4c67d5bd2244e53544ec742d9 [file] [log] [blame]
<!DOCTYPE html>
<head>
<script type="text/javascript" src="resources/reveal-utilities.js"></script>
</head>
<body>
<div>When the caret is scrolled out, on starting typing it must be brought to the center of the control.</div>
<textarea name="textarea" id="textarea" rows="10" cols="10"></textarea>
<script>
var textArea = document.getElementById("textarea");
textArea.textContent = generateNumbers(0, 30, 2, "\n");
textArea.focus();
textArea.selectionStart = 36;
if (window.eventSender)
eventSender.keyDown(">");
</script>
</body>