blob: d978aa8235a45c91cb2b6ac8258d0e00e269f7fb [file] [log] [blame]
<p>This tests for a hang when performing Insert{Un}OrderedList.</p>
<div id="div" contenteditable="true">
<blockquote class="webkit-indent-blockquote">foo</blockquote>
<blockquote class="webkit-indent-blockquote">bar</blockquote>
<blockquote class="webkit-indent-blockquote"><br></blockquote>
<blockquote class="webkit-indent-blockquote"><br></blockquote>
<blockquote class="webkit-indent-blockquote"><br></blockquote>
</div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
var div = document.getElementById("div");
div.focus();
document.execCommand("SelectAll");
document.execCommand("InsertUnorderedList");
</script>