9 border: 2px solid blue;
14 .scenario { margin-bottom: 16px;}
15 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
16 .expected-results:first-line { font-weight: bold }
18 <script src="../editing.js"></script>
19 <script src="../../resources/dump-as-markup.js"></script>
20 <title>Editing Test</title>
23 <div class="explanation">
24 <div class="scenario">
27 Copying and pasting a whole line followed by a blank line could remove the blank line incorrectly, as in the case described in
28 <a href="rdar://problem/3951178"><rdar://problem/3951178></a> REGRESSION (Mail): blank line lost after pasting as quotation.
30 <div class="expected-results">
33 Should see a blank line between "two" and "three"
37 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
38 <div id="test" class="editing">
43 <br class="khtml-block-placeholder">
49 <br class="khtml-block-placeholder">
58 Markup.description(document.getElementsByClassName('explanation')[0].textContent);
60 function editingTest() {
61 moveSelectionForwardByLineCommand();
62 moveSelectionForwardByLineCommand();
63 extendSelectionForwardByLineCommand();