| .scenario { margin-bottom: 16px;} |
| .scenario:first-line { font-weight: bold; margin-bottom: 16px;} |
| .expected-results:first-line { font-weight: bold } |
| <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> |
| extendSelectionForwardByLineCommand(); |
| moveSelectionForwardByCharacterCommand(); |
| insertParagraphCommand(); |
| moveSelectionBackwardByCharacterCommand(); |
| <title>Editing Test</title> |
| <div class="explanation"> |
| Inserting blocks for paragraphs should do a better job of finding a block to insert after. |
| <a href="rdar://problem/3996605"><rdar://problem/3996605></a> Insert paragraph command puts new block in wrong place, creating difficult-to-handle HTML |
| <div class="expected-results"> |
| Should see this content in the red box below: <b>fo</b>x |
| <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"> |
| <div id="test" class="editing"> |