blob: 9b774776d0618f28ba9c54af4b4b2358ed6e1ccb [file] [log] [blame]
<!DOCTYPE html>
<body>
Passes if it does not crash.
<div id="sample" contenteditable="true"><ol><li><br></li></ol></div>
</body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var sample = document.getElementById('sample');
getSelection().selectAllChildren(sample);
document.execCommand('InsertHTML', false, '<ul>');
sample.outerHTML = '';
</script>