blob: c879d81f424fc2c4bf9ddeac0565cc0f0c123888 [file] [log] [blame]
<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>