Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / merge-paragraph-from-h6-with-style-2.html
blobaae624341713f698f517ef008d173d17c743011a
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">This tests deleting line break before h6.
5 WebKit should not cancel styles added by h6 by those of document's default style but still keep "hello" italicized and "world" in red.</p>
6 <div id="test" contenteditable>
7 <em>hello</em>
8 <h6><font color="blue" style="color:red">world</font></h6>
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>