[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / smart-delete-across-editable-boundaries-2.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">This tests for a bug where expansion for smart delete would not consider editable boundaries. Only 'foo' should be deleted. You should see ' bar'. &lt;radr://problem/5390681&gt;</p>
5 <div contenteditable="true" id="test">foo
6 <span contenteditable="false"> bar</span></div>
7
8 <script src="../editing.js"></script>
9 <script src="../../resources/ui-helper.js"></script>
10 <script>
11
12 async function editingTest() {
13         await UIHelper.selectWordByDoubleTapOrClick(document.getElementById('test'));
14         document.execCommand("Delete");
15 }
16
17 runDumpAsTextEditingTest(true);
18 </script>
19 </body>
20 </html>