Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / merge-paragraph-from-p-with-style.html
blobc740d9edccb8167086980e74815e4d127c78a6a5
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css">
5 p {color: red;}
6 </style>
7 </head>
8 <body>
9 <p id="description">This tests deleting line break before p.
10 "world" in "helloworld" should be italicized in red.</p>
11 <div id="test" contenteditable>
12 hello
13 <p style="font-style: italic;">world</p>
14 </div>
15 </div>
16 <script src="../editing.js"></script>
17 <script src="../../resources/dump-as-markup.js"></script>
18 <script>
20 function editingTest() {
21 moveSelectionForwardByLineCommand();
22 deleteCommand();
24 Markup.description(document.getElementById('description').textContent);
25 Markup.dump('test');
28 runEditingTest();
29 </script>
30 </body>
31 </html>