[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-list-items-in-table-cell-4.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4     <div id="container" contenteditable="true"><table border="1"><tr><td><ul><li id="li"><br></li></ul></td></tr></table></div>
5     <script src="../../resources/dump-as-markup.js"></script>
6     <script>
7         Markup.description('When deleting the last unordered list item in a table cell we must delete the whole ordered list:');
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>