blob: 8110bd60ad3abd0655b0636f2b9512d9a6eeff5b [file] [log] [blame]
<style>
b {
display: inline-table;
}
</style>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
onload = () => {
document.designMode = 'on';
document.execCommand('SelectAll');
document.execCommand('InsertText', false, 'a');
document.execCommand('SelectAll');
document.execCommand('Bold');
document.execCommand('Copy');
document.execCommand('PasteAsQuotation');
document.execCommand('InsertParagraph');
document.body.innerHTML = 'This test passes if it does not crash.';
if (window.testRunner)
testRunner.notifyDone();
};
</script>