| .scenario { margin-bottom: 16px;} |
| .scenario:first-line { font-weight: bold; margin-bottom: 16px;} |
| .expected-results:first-line { font-weight: bold } |
| <script src="../editing.js"></script> |
| <script src="../../resources/dump-as-markup.js"></script> |
| <title>Editing Test</title> |
| <div class="explanation"> |
| Copying and pasting a whole line followed by a blank line could remove the blank line incorrectly, as in the case described in |
| <a href="rdar://problem/3951178"><rdar://problem/3951178></a> REGRESSION (Mail): blank line lost after pasting as quotation. |
| <div class="expected-results"> |
| Should see a blank line between "two" and "three" |
| <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"> |
| <div id="test" class="editing"> |
| <br class="khtml-block-placeholder"> |
| <br class="khtml-block-placeholder"> |
| Markup.description(document.getElementsByClassName('explanation')[0].textContent); |
| moveSelectionForwardByLineCommand(); |
| moveSelectionForwardByLineCommand(); |
| extendSelectionForwardByLineCommand(); |