[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-list-items-in-table-cell-1.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4     <div id="container" contenteditable="true"><table><tr><td><ol><li>a</li><li id="li">|b</li></ol></td></tr></table></div>
5     <script src="../../resources/dump-as-markup.js"></script>
6     <script>
7         Markup.description('When deleting the second ordered list items in a table cell its content is merged with the first list item:');
8
9         getSelection().collapse(document.getElementById("li"), 0);
10         Markup.dump('container', 'Before');
11
12         document.execCommand("Delete");
13         Markup.dump('container', 'After');
14     </script>
15 </body>
16 </html>