Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / pasting-object.html
1 <script>
2 if (window.testRunner)
3      testRunner.dumpEditingCallbacks();
4 </script>
5 <body>
6 <p>This tests for a bug where attachments dragged into Mail documents blew all content after the position being pasted into.  You should see "Hello[black box] World!" below.</p>
7 <div id="test" contenteditable="true">Hello World!</div>
8 </body>
9
10 <script>
11 var s = window.getSelection();
12 s.setPosition(document.getElementById("test"), 0);
13
14 s.modify("move", "forward", "word");
15
16 document.execCommand("InsertHTML", false, "<object style='border: 1px solid #aaa;'></object>");
17 </script>