blob: 1d3418d5d829ea4dacc4d117ec97e163f7c0c33c [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="container" contenteditable="true"><table border="1"><tr><td><ul><li id="li"><br></li></ul></td></tr></table></div>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description('When deleting the last unordered 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>