3 // Test for https://bugs.webkit.org/show_bug.cgi?id=35791; It's OK if it doesn't crash.
4 document.designMode = "on";
5 document.execCommand("selectall");
6 document.execCommand("InsertLineBreak")
7 document.execCommand("InsertLineBreak");
8 document.execCommand("InsertText", false, "hello");
9 document.execCommand("SelectAll");
10 document.execCommand("createlink", false, "http://webkit.org/");
11 document.execCommand("justifycenter", false);
12 document.designMode = "off";
14 if (window.layoutTestController)
15 window.layoutTestController.dumpAsText();