| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| for(i = 1; i <= 10; i++) { |
| typeCharacterCommand('x'); |
| typeCharacterCommand(' '); |
| typeCharacterCommand('x'); |
| extendSelectionBackwardByCharacterCommand(); |
| extendSelectionBackwardByCharacterCommand(); |
| extendSelectionBackwardByCharacterCommand(); |
| pasteAndMatchStyleCommand(); |
| typeCharacterCommand('\n'); |
| <title>Pasting plain text with varying amounts of whitespace</title> |
| <p>This tests to see if spaces are lost during a copy/paste</p> |
| <div id="test" contenteditable="true"><br></div> |