[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-across-editable-content-boundaries-1.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">This tests the deletion of non-editable content that both starts and ends in editable roots - it should successfully be removed. There should be no visible content in the markup below. &lt;radr://problem/5026848&gt;</p>
5 <div id="div" contenteditable="true">foo <span style="color: red;" contenteditable="false">bar</span> baz</div>
6
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9 var div = document.getElementById("div");
10 div.focus();
11 document.execCommand("SelectAll");
12 document.execCommand("Delete");
13 Markup.description(description.textContent);
14 Markup.dump("div");
15 </script>
16
17 </body>
18 </html>