selection-select-all-move-input-crash.html (273B)
1 <script> 2 function start() { 3 document.execCommand('selectAll', false) 4 document.documentElement.appendChild(document.getElementById('input')) 5 } 6 </script> 7 <body onload="start()"> 8 <input id="input" autofocus> 9 <canvas contenteditable="true" hidden></canvas> 10 </body>