| <html><head><script> |
| |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| function go() { |
| document.execCommand("selectall"); |
| document.designMode="on"; |
| document.execCommand("InsertLineBreak"); |
| document.execCommand("insertimage"); |
| document.execCommand("InsertOrderedList"); |
| document.execCommand("inserthtml", false, "z"); |
| document.execCommand("InsertHorizontalRule"); |
| document.execCommand("selectall"); |
| document.execCommand("createlink", false, "z"); |
| document.execCommand("insertunorderedlist"); |
| document.body.innerHTML = 'This test ensures WebKit does not crash when switching the type of a list with multiple list items.<br>PASS'; |
| } |
| </script></head><body onload="go();"></body></html> |