5 testRunner
.dumpEditingCallbacks();
11 function editingTest() {
12 var target
= document
.getElementById("test");
14 x
= target
.offsetLeft
+ 10;
15 y
= target
.offsetTop
+ target
.offsetHeight
- 10;
17 eventSender
.mouseMoveTo(x
, y
);
18 eventSender
.mouseDown();
19 eventSender
.mouseUp();
26 This is a test for
<i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=9978">http://bugzilla.opendarwin.org/show_bug.cgi?id=
9978</a>
27 REGRESSION (r12949-r12988): Clicking the first letter on a line places the caret at the end of the previous line
</i>.
30 To test interactively, click the left side of the W on the second line. The caret should be
31 move to the start of that line.
34 <div contenteditable
id=
"test" style=
"font-size: 48; width: 250px;">