35791.html 572 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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.layoutTestController)
    window.layoutTestController.dumpAsText();
</SCRIPT>