Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /selection/selection-select-all-move-input-crash.html - WPT Dashboard Interop Dashboard
 
 
<script>
  function start() {
    document.execCommand('selectAll', false)
    document.documentElement.appendChild(document.getElementById('input'))
  }
</script>
<body onload="start()">
<input id="input" autofocus>
<canvas contenteditable="true" hidden></canvas>
</body>