Copy some cross-platform results into platform/win to avoid picking up the...
[WebKit-https.git] / LayoutTests / editing / input / emacs-ctrl-o.html
1 <html>
2
3 <head>
4
5 <style>
6 body { font-size: 24px }
7 .explanation { 
8     margin-bottom: 24px;
9 }
10 .scenario { margin-bottom: 16px }
11 .scenario:first-line { font-weight: bold }
12 .expected-results:first-line { font-weight: bold }
13 </style>
14
15 <script src='../editing.js'></script>
16
17 <script>
18 function editingTest()
19 {
20     moveSelectionForwardByWordCommand(); // cursor after "one"
21     moveSelectionForwardByWordCommand(); // cursor after "five"
22     moveSelectionForwardByCharacterCommand();
23     if (window.eventSender)
24         eventSender.keyDown("o", ["ctrlKey"]);
25 }
26 </script>
27
28 <title>Editing Test for Control-O</title>
29
30 </head>
31
32 <body onload="runEditingTest()">
33
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>
37 </div>
38
39 <div contenteditable id="root" class="editing">
40 <div id="test">one five two three four</div>
41 </div>
42
43 </body>
44
45 </html>