4 <script src=../editing.js language="JavaScript" type="text/JavaScript"></script>
8 function editingTest() {
9 moveSelectionForwardByCharacterCommand();
10 extendSelectionForwardByLineCommand();
14 pasteAndMatchStyleCommand();
19 <title>Pasting plain text loses leading/trailing whitespace</title>
23 <p>This tests to see if leading spaces are lost during a copy/paste</p>
27 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
28 <div id="test" class="editing">. this text should have a single leading space before it</div>