11 border:
2px solid blue;
17 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
21 function editingTest() {
22 moveSelectionForwardByCharacterCommand();
23 extendSelectionForwardByLineCommand();
24 extendSelectionForwardByLineCommand();
25 extendSelectionForwardByCharacterCommand();
31 <title>Editing Test
</title>
33 <body contenteditable=
"true">
34 <div class=
"explanation">
35 Should see
"XX" in outer red box, and another
"XX" in an orange box nested in a green box.
38 <div id=
"root" style=
"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
39 <div id=
"test" class=
"editing">
41 <div class=
"editing" style=
"border-color: green;">
42 <div class=
"editing" style=
"border-color: purple;">should not see this content
</div><div class=
"editing" style=
"border-color: yellow;">XX
</div><div class=
"editing" style=
"border-color: orange;">XX
</div>