<!DOCTYPE html>

<script src="../../resources/dump-as-markup.js"></script>
<div id="div">
    <dl><div id="div1" contenteditable="true"></div></dl>
    <ul><div id="div2" contenteditable="true"></div></ul>
    <ol><div id="div3" contenteditable="true"></div></ol>
</div>

<script>
div1.focus();
document.execCommand("InsertUnorderedList");

div2.focus();
document.execCommand("InsertUnorderedList");

div3.focus();
document.execCommand("InsertUnorderedList");

Markup.description('execCommand("InsertUnorderedList") for contenteditable root element was crashing. The test has passed if it does not crash.\nPASS');
Markup.dump(div);
</script>
