<body><hr><pre><hr>
</pre><script>
if (window.testRunner)
    window.testRunner.dumpAsText();
document.designMode = "on";
document.execCommand("SelectAll");
document.execCommand("CreateLink", 0, 'foo');
document.execCommand("SelectAll");
document.execCommand("JustifyCenter");
document.body.innerText = "This tests for a crash when performing JustifyCenter.  It should not crash.";
</script></body>
