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">
28 <a href="rdar://problem/4039676"><rdar://problem/4039676></a> REGRESSION (Mail): in reply, <cr> on pasted text (without trailing newline) is eaten when pasted above date
30 <div class="expected-results">
33 Should see two lines of text below, self-documenting themselves as "line one" and "line two".
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">
44 Markup.description(document.getElementsByClassName('explanation')[0].textContent);
46 function editingTest() {
47 for (i = 0; i < 8; i++)
48 extendSelectionForwardByCharacterCommand();
50 Markup.dump('root', 'After copy');
52 Markup.dump('root', 'After paste');