11 border:
2px solid blue;
17 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
21 function editingTest() {
22 for (i
= 0; i
< 4; i
++)
23 moveSelectionForwardByCharacterCommand();
24 insertParagraphCommand();
29 <title>Editing Test
</title>
32 <div class=
"explanation">
33 Should see
"foo" and
"bar" each in a separate red box. Note that the
"foo" text is really
"foo ".
34 There
<b>must
</b> be a space at the end of the line.
37 <div contenteditable=
"true" id=
"root" style=
"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
38 <div id=
"test" class=
"editing" spellcheck=
"false">foo bar
</div>