[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-selection-001.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
12
13 <script>
14
15 function editingTest() {
16     for (i = 0; i < 3; i++) {
17         extendSelectionForwardByCharacterCommand();    
18     }
19     deleteCommand();
20 }
21
22 </script>
23
24 <title>Editing Test</title> 
25 </head> 
26 <body>
27 <div contenteditable id="root" class="editing">
28 <span id="test">foo   bar    baz</span>
29 </div>
30
31 <script>
32 runEditingTest();
33 </script>
34
35 </body>
36 </html>