<!DOCTYPE html>
<button></button>
<script>
document.designMode="on";
var steps = [
    "SelectAll",
    "InsertUnorderedList",
    "Italic",
    "InsertOrderedList",
    "InsertHorizontalRule",
    "SelectAll",
    "InsertUnorderedList",
    "InsertHorizontalRule",
    "InsertParagraph",
    "InsertUnorderedList"
];
if (window.testRunner)
    testRunner.dumpAsText();
while (steps.length)
    document.execCommand(steps.shift(), false);
document.documentElement.innerHTML = 'PASS';
</script>
