blob: 4fa0ee5ed910f42b2271c651584d5e03b16c3ded [file] [log] [blame]
<html>
<body onload="test()"></body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function test()
{
document.open();
document.designMode = "on";
var selection = window.getSelection();
selection.addRange(document.createRange());
document.execCommand("Delete");
document.close();
document.body.appendChild(document.createTextNode('Deleting an empty selection should have no effect.'));
}
</script>
</html>