10 border:
2px solid blue;
15 .scenario { margin-bottom:
16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom:
16px;}
17 .expected-results:first-line { font-weight: bold }
19 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
23 function editingTest() {
24 moveSelectionForwardByWordCommand();
25 moveSelectionForwardByWordCommand();
26 if (window
.eventSender
) {
27 eventSender
.clearKillRing();
28 eventSender
.keyDown("y", ["ctrlKey"]);
34 <title>Editing Test
</title>
38 <div class=
"explanation">
39 <div class=
"scenario">
42 Cntl-y at caret selection when nothing is in the kill ring.
44 <div class=
"expected-results">
47 Deletes a character, yielding:
53 <div contenteditable
id=
"root" style=
"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
54 <div id=
"test" class=
"editing">one two three four
</div>