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 doubleClickAtSelectionStart();
30 <title>Editing Test
</title>
34 <div class=
"explanation">
35 <div class=
"scenario">
38 Smart delete when deleting the first word on a line.
40 <div class=
"expected-results">
43 The first word and the space following the first word should be deleted. It should like this this:
49 <div contenteditable
id=
"root" style=
"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
50 <div id=
"test" class=
"editing">