servo/tests/wpt/web-platform-tests/selection/selection-select-all-move-input-crash.html

10 lines
273 B
HTML

<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>