blob: 5dab1c0cca987d40aed56546207781c06c9e64f5 [file] [log] [blame]
<html><head><script>
if (window.layoutTestController)
layoutTestController.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>