3 testRunner
.dumpEditingCallbacks();
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>
12 internals
.settings
.setEditingBehavior('mac');
13 var s
= window
.getSelection();
14 s
.collapse(document
.getElementById("test"), 0);
16 s
.modify("move", "forward", "word");
18 document
.execCommand("InsertHTML", false, "<object style='border: 1px solid #aaa;'></object>");