1 <p>This tests for an infinite loop on Paste. You should see 'Hello: ' and then an input field.
</p>
2 <div id=
"div" contenteditable=
"true">Hello:
</div>
6 internals
.settings
.setEditingBehavior("mac");
7 var div
= document
.getElementById("div");
8 var sel
= window
.getSelection();
11 sel
.modify("move", "forward", "word");
13 document
.execCommand("InsertHTML", false, "<div><input type='text'></div>");