Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / merge-paragraph-into-h1-with-dir.html
blob798a66eae3aacb85bd689cd3e612c092a0f663cd
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>world</p>
9 </div>
10 </div>
11 <script src="../editing.js"></script>
12 <script src="../../resources/dump-as-markup.js"></script>
13 <script>
15 function editingTest() {
16 moveSelectionForwardByLineCommand();
17 deleteCommand();
19 Markup.description(document.getElementById('description').textContent);
20 Markup.dump('test');
23 runEditingTest();
24 </script>
25 </body>
26 </html>