5 testRunner
.dumpEditingCallbacks();
11 function editingTest() {
12 var start
= document
.getElementById("start");
14 x
= start
.offsetLeft
+ 2;
15 y
= start
.offsetTop
+ 2;
17 eventSender
.mouseMoveTo(x
, y
);
18 eventSender
.mouseDown();
19 eventSender
.mouseUp();
20 eventSender
.mouseDown();
24 eventSender
.mouseMoveTo(x
, y
);
25 eventSender
.mouseUp();
27 testRunner
.execCommand("MoveBackward");
28 testRunner
.execCommand("MoveDown");
29 testRunner
.execCommand("MoveForward");
30 testRunner
.execCommand("MoveLeft");
31 testRunner
.execCommand("MoveRight");
32 testRunner
.execCommand("MoveToBeginningOfDocument");
33 testRunner
.execCommand("MoveToBeginningOfLine");
34 testRunner
.execCommand("MoveToBeginningOfParagraph");
35 testRunner
.execCommand("MoveToEndOfDocument");
36 testRunner
.execCommand("MoveToEndOfLine");
37 testRunner
.execCommand("MoveToEndOfParagraph");
38 testRunner
.execCommand("MoveUp");
39 testRunner
.execCommand("MoveParagraphBackward");
40 testRunner
.execCommand("MoveParagraphForward");
41 testRunner
.execCommand("MoveWordBackward");
42 testRunner
.execCommand("MoveWordForward");
43 testRunner
.execCommand("MoveWordLeft");
44 testRunner
.execCommand("MoveWordRight");
45 testRunner
.execCommand("PageDown");
46 testRunner
.execCommand("PageUp");
51 <body style=
"overflow:hidden">
52 This tests whether certain NSResponder methods that should only operate on editable regions modify a selection that is not in an editable region.
<br>
53 This is a para
<span style=
"color:blue;" id=
"start">g
</span>raph.
<br>