1 <p>This tests for a hang when performing InsertUnorderedList.
</p>
2 <div contenteditable=
"true">
3 <div>There should be two empty unordered list items below.
</div>
4 <div id=
"start"><br></div>
6 <div id=
"end">This should be an unordered list item.
</div>
10 var selection
= window
.getSelection();
11 var div
= document
.getElementById("div");
12 selection
.setBaseAndExtent(start
, 0, end
, end
.childNodes
.length
);
14 document
.execCommand("InsertUnorderedList");