6 body { font-size:
24px }
10 .scenario { margin-bottom:
16px }
11 .scenario:first-line { font-weight: bold }
12 .expected-results:first-line { font-weight: bold }
15 <script src='../editing.js'
></script>
18 function editingTest()
20 moveSelectionForwardByWordCommand(); // cursor after "one"
21 moveSelectionForwardByWordCommand(); // cursor after "five"
22 moveSelectionForwardByCharacterCommand();
23 if (window
.eventSender
)
24 eventSender
.keyDown("o", ["ctrlKey"]);
28 <title>Editing Test for Control-O
</title>
32 <body onload=
"runEditingTest()">
34 <div class=
"explanation">
35 <div class=
"scenario">Tests:
<br>Key binding for control-O
</div>
36 <div class=
"expected-results">Expected results:
<br>one five |
<br>two three four
</div>
39 <div contenteditable
id=
"root" class=
"editing">
40 <div id=
"test">one five two three four
</div>