[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / merge-paragraph-into-h1-with-dir-2.html
1 <!DOCTYPE html>
2 <html> 
3 <body>
4 <p id="description">This tests deleting line break after h1 inside a block with dir attribute.
5 WebKit should not add direction or unicode-bidi properties while merging paragraphs.</p>
6 <div id="test" dir="ltr" contenteditable>
7 <h1>hello</h1>
8 <p><b>worl</b>d</p>
9 </div>
10 </div>
11 <script src="../editing.js"></script>
12 <script src="../../resources/dump-as-markup.js"></script>
13 <script>
14
15 function editingTest() {
16     moveSelectionForwardByLineCommand();
17     deleteCommand();
18
19     Markup.description(document.getElementById('description').textContent);
20     Markup.dump('test');
21 }
22
23 runEditingTest();
24 </script>
25 </body>
26 </html>