blob: a90b6834b874280ac2307dd86902016e06629703 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="container" contenteditable="true"><table border="1"><tr><td><ol><li id="li"><br></li></ol></td></tr></table></div>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description('When deleting the last ordered list item in a table cell we must delete the whole ordered list:');
getSelection().collapse(document.getElementById("li"), 0);
Markup.dump('container', 'Before');
document.execCommand("Delete");
Markup.dump('container', 'After');
</script>
</body>
</html>