blob: 97be410752d429685a0db8687faf06cdf715eaf1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="container" contenteditable="true"><table border="1"><tr><td><ul><li>a</li><li id="li">|b</li></ul></td></tr></table></div>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description('When deleting the second unordered list items in a table cell its content is merged with the first list item:');
getSelection().collapse(document.getElementById("li"), 0);
Markup.dump('container', 'Before');
document.execCommand("Delete");
Markup.dump('container', 'After');
</script>
</body>
</html>