<!DOCTYPE HTML>
<html>
<body>
<div id="input" style="width:0; height:200px; border:10px solid red; padding:5px; outline:none" contentEditable="true"></div>
<script>
window.focus();
document.getElementById("input").focus();
</script>
</body>
</html>