[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-line-break-between-paragraphs-with-same-style.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="test" contenteditable>
5 <div><font class="Apple-style-span" face="monospace">hello world</font></div><div><font class="Apple-style-span" face="monospace">WebKit</font></div>
6 </div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9
10 Markup.description('This tests deleting a line break between paragraphs with the same inline style.'
11 + ' Inline style should be preserved after the merge.');
12
13 document.getElementById('test').focus();
14 window.getSelection().modify('move', 'forward', 'line');
15 document.execCommand('Delete');
16
17 Markup.dump('test');
18
19 </script>
20 </body>
21 </html>