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