3 testRunner
.dumpEditingCallbacks();
5 <p>There was a bug in paste's smart replace whitespace handling. In some cases, it used information gathered at the start of the selection being pasted into to decide whether or not a space needed to be added to the end of the incoming content.
</p>
6 <p>A smart paste is performed into a selection starting in one block and ending in another. Spaces should surround the pasted word.
</p>
7 <div id=
"test" contenteditable=
"true"><div>foo
</div><div>x bar
</div></div>
9 <script type=
"text/javascript" src=
"../editing.js"></script>
11 var s
= window
.getSelection();
12 var e
= document
.getElementById("test");
14 setSelectionCommand(e
, 0, e
, 0);
15 doubleClickAtSelectionStart();
17 moveSelectionBackwardByCharacterCommand();
18 moveSelectionForwardByCharacterCommand();
19 extendSelectionForwardByLineCommand();