Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-delete-insertion-position-skip-paragraph.html
1 <!DOCTYPE html>
2 <html>
3 <body style="background-color: #fee; font-family: 'courier new', monospace; font-size: 13px; word-wrap: break-word;" contenteditable>
4 <p id="description">This test ensures WebKit does not skip paragraphs when determining the insertion position for paste.<br>
5 You should see "hello world&lt;caret&gt; WebKit" below.</p>
6 <div id="test" contenteditable>
7 <font class="Apple-style-span" face="'courier new', monospace"><div style="font-family: arial;">
8 <span class="Apple-style-span" style="font-family: 'courier new', monospace;">hello</span></div>
9 <div style="font-family: arial; "><span class="Apple-style-span" style="font-family: 'courier new', monospace;">&nbsp;WebKit</span></div></font>
10 </div>
11 <script src="../editing.js"></script>
12 <script src="../../resources/dump-as-markup.js"></script>
13 <script>
14
15 Markup.description(document.getElementById('description').textContent);
16
17 moveSelectionForwardByLineBoundaryCommand();
18 Markup.dump('test', 'Initial markup');
19
20 insertHTMLCommand('<span class="Apple-style-span" style="background-color: #fee;">&nbsp;world</span>');
21 Markup.dump('test', 'After inserting " world"');
22
23 for (var i = 0; i < 5; i++) // Make sure we're at the very end.
24     moveSelectionForwardByLineCommand();
25 moveSelectionBackwardByLineBoundaryCommand();
26
27 deleteCommand();
28 Markup.dump('test', 'After deleting line break before " WebKit"');
29
30 </script>
31 </body>
32 </html>