[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-br-011.html
1 <html> 
2 <head>
3 <style>
4 .editing { 
5     border: 2px solid red; 
6     padding: 12px; 
7     font-size: 24px; 
8 }
9 </style>
10 <script src="../../resources/dump-as-markup.js"></script>
11 <script src="../editing.js"></script>
12 <script>
13
14 Markup.waitUntilDone();
15
16 function editingTest() {
17
18     Markup.description('rdar://problem/4065343 Mail: Deleting a line sometimes makes the insertion point jump to the top of the message.');
19     Markup.dump('root', 'before deletion');
20
21     for (i = 0; i < 5; i++)
22         moveSelectionForwardByLineCommand();
23     deleteCommand();
24
25     Markup.dump('root', 'after deletion');
26     Markup.notifyDone();
27 }
28
29 </script>
30 <title>Editing Test</title> 
31 </head> 
32 <body onload="runEditingTest();" contenteditable id="root">hello<div class="editing" id="test"><br></div><br></body></html>