| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| extendSelectionForwardByLineCommand(); |
| moveSelectionBackwardByCharacterCommand(); |
| insertParagraphCommand(); |
| moveSelectionBackwardByCharacterCommand(); |
| pasteAndMatchStyleCommand(); |
| <title>Paste and match style on an empty (but styled) line</title> |
| <p>This tests paste and match style on an empty (but styled) line</p> |
| <p>The first line is copied (unstyled), then it's bolded, then a paragraph separator is inserted and the original unstyled line is pasted (with style matching).</p> |
| <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"> |
| <div id="test" class="editing">this text should end up bold</div> |