18 lines
408 B
HTML
18 lines
408 B
HTML
<style>
|
|
head, script {
|
|
display: table;
|
|
}
|
|
</style>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
onload = () => {
|
|
console.log("This test passes if it does not crash.");
|
|
document.execCommand('SelectAll');
|
|
document.execCommand('Copy');
|
|
document.execCommand('SelectAll');
|
|
document.designMode = 'on';
|
|
document.execCommand('PasteAndMatchStyle');
|
|
};
|
|
</script>
|