blob: 943544713cbcbf8047d16c1dac1870ed2f96bb1b [file] [log] [blame]
<style>
br {
content: '';
}
</style>
<script>
onload = () => {
if (window.testRunner)
testRunner.dumpAsText();
document.designMode = 'on';
document.execCommand('SelectAll');
document.execCommand('InsertImage', false, '#');
let ifr0 = document.createElement('iframe');
document.body.appendChild(ifr0);
ifr0.onload = () => {
document.execCommand('JustifyRight');
};
document.execCommand('InsertParagraph');
getSelection().extend(document.body);
document.execCommand('InsertParagraph');
document.write('Test passes if it does not crash\n');
document.write('PASS');
};
</script>