[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-leading-ws-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 < 2; i++) {
17         moveSelectionForwardByCharacterCommand();    
18     }
19     for (i = 0; i < 4; i++) {
20         extendSelectionForwardByCharacterCommand();    
21     }
22     deleteCommand();
23 }
24
25 </script>
26
27 <title>Editing Test</title> 
28 </head> 
29 <body>
30 <div contenteditable id="root" class="editing">
31 <span id="test">f   baz</span>
32 </div>
33
34 <script>
35 runEditingTest();
36 </script>
37
38 </body>
39 </html>