8 -khtml-nbsp-mode: space;
9 -khtml-line-break: after-white-space;
12 <script src=
"../editing.js"></script>
13 <script src=
"../../resources/dump-as-markup.js"></script>
14 <title>Editing Test
</title>
17 <p id=
"description"><b>This demonstrates a bug:
</b> copying an empty line that's implemented with a br doesn't put an interchange newline on the pasteboard. There should be two blank lines after the 'a'.
</p>
18 <div contenteditable=
"true" id=
"test">
19 <div class=
"editing">a
<br><br>b
</div>
20 <div class=
"editing"></div>
24 function editingTest() {
25 Markup
.description(document
.getElementById('description').textContent
);
27 extendSelectionForwardByLineCommand();
28 extendSelectionForwardByLineCommand();
31 moveSelectionForwardByLineCommand();
32 moveSelectionForwardByLineCommand();
34 Markup
.dump('test', 'Before paste');
36 Markup
.dump('test', 'After paste');