<BODY></BODY>
<SCRIPT>
// Test for https://bugs.webkit.org/show_bug.cgi?id=35791; It's OK if it doesn't crash.
document.designMode = "on";
document.execCommand("selectall");
document.execCommand("InsertLineBreak")
document.execCommand("InsertLineBreak");
document.execCommand("InsertText", false, "hello");
document.execCommand("SelectAll");
document.execCommand("createlink", false, "http://webkit.org/");
document.execCommand("justifycenter", false);
document.designMode = "off";

if (window.testRunner)
    window.testRunner.dumpAsText();
</SCRIPT>
