10 border:
2px solid blue;
16 <script src=
"../editing.js"></script>
17 <script src=
"../../resources/dump-as-markup.js"></script>
20 function editingTest() {
21 for (i
= 0; i
< 4; i
++)
22 moveSelectionForwardByCharacterCommand();
23 for (i
= 0; i
< 3; i
++)
24 insertParagraphCommand();
25 typeCharacterCommand();
26 extendSelectionBackwardByLineCommand();
29 Markup
.description(document
.querySelector('.explanation').textContent
);
35 <title>Editing Test
</title>
38 <div class=
"explanation">
39 Should see two blank lines after
"foo" each in a separate red box (class=editing).
42 <div contenteditable=
"true" id=
"root" style=
"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
43 <div id=
"test" class=
"editing">foo
</div>