blob: f0930daf42741ca90c02fbca115a93685a55fdd5 [file] [log] [blame]
<!DOCTYPE html>
<script>
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
document.querySelector('input').setRangeText('aa', 0, 1, 'end');
getSelection().extend(document.createElement('select'));
document.execCommand('delete', false);
document.body.innerHTML = `<p>This tests invoking deletion after attempting to extend selection to a disconnected node. WebKit should not crash.</p>PASS.`;
}
</script>
<body onload=runTest()>
<input>