Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / crash-line-break-after-outdent.html
blob98b64d7c462436aea604b2467b35d4d5d95a1f35
1 <head>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 function f() {
7 document.designMode="on";
8 document.execCommand("SelectAll");
9 document.execCommand("InsertImage",false);
10 document.execCommand("InsertImage",false);
11 document.execCommand("Indent");
12 document.execCommand("insertunorderedlist",false);
13 document.execCommand("InsertUnorderedList",false);
14 document.execCommand("Bold");
15 document.execCommand("InsertLineBreak");
16 document.execCommand("insertunorderedlist");
17 document.execCommand("insertimage",false);
18 document.execCommand("insertparagraph",false);
19 document.execCommand("insertunorderedlist");
20 document.execCommand("InsertUnorderedList");
21 document.execCommand("Outdent");
22 document.write("<p>Test for bug <a href=\"https://bugs.webkit.org/show_bug.cgi?id=60778\">REGRESSION (83075): Crash in line break after outdent</p>");
23 document.write("<p>This test PASSED!</p>");
25 </script>
26 </head>
27 <body onload='f();'>
28 <pre id="x">x</pre>
29 </body>