blob: 5cdfc8ef0884d0acb8422ff0406632fc9de2445a [file] [log] [blame]
<card id="edit" contentEditable="true">A<script>
if (window.testRunner)
testRunner.dumpAsText();
edit.focus();
document.execCommand("SelectAll");
document.execCommand("RemoveFormat");
document.writeln('execCommand("RemoveFormat") was crashing when there is no enclosing block.<br>');
document.writeln('The test has passed if it does not crash.<br><br>')
document.writeln('PASS');
</script>