blob: 9ddb8714bebf0a5ec445c61484a6d7038bfbf903 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function test() {
document.getSelection().collapse(target);;
document.execCommand("insertOrderedList");
}
</script>
<body onload=test()>
<li contenteditable="true">
<div id="target"></div>
</li>
<p>The test PASS if it does not crash.</p>
</body>