Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-at-end-of-node-followed-by-inline-element.html
1 <!DOCTYPE html>\r
2 <html>\r
3 <body>\r
4 <p id="description">This tests inserting a text in the middle of a text node. You should see "1 Two 3" below.</p>\r
5 <pre id="test" contentEditable="true" style="border:1px solid black">\r
6 <b>1 <i>2 3</i></b>\r
7 </pre>\r
8 <script src="../../resources/dump-as-markup.js"></script>\r
9 <script>\r
10 getSelection().selectAllChildren(document.querySelector('i'));\r
11 var text = document.querySelector('i').firstChild;\r
12 getSelection().setBaseAndExtent(text, 0, text, 1);\r
13 document.execCommand('InsertHtml', false, 'Two');\r
14 \r
15 Markup.description(document.getElementById('description').textContent);\r
16 Markup.dump('test');\r
17 \r
18 </script>\r
19 </body>\r
20 </html>\r