1 <p>This tests double clicking after the last character in the last cell of a block table. The paragraph break (the space between the last character and the first character in the next paragraph) should be selected. Selection painting problems might prevent the paragraph break from appearing as selected even though it is. To test manually, double click inside the table cell, after the last character, and hit delete. Afterward, the table should contain 'foobar'.
</p>
2 <div contenteditable=
"true">
3 <table border=
"1"><tr><td width=
"100px"><span id=
"span">foo
</span></td></tr></table>
4 <div id=
"end">bar
</div>
8 if (window
.testRunner
) {
9 span
= document
.getElementById("span");
10 x
= span
.offsetParent
.offsetLeft
+ span
.offsetLeft
+ span
.offsetWidth
+ 10;
11 y
= span
.offsetParent
.offsetParent
.offsetTop
+ span
.offsetParent
.offsetTop
+ span
.offsetTop
+ span
.offsetHeight
/ 2;
15 eventSender
.mouseMoveTo(x
, y
);
16 eventSender
.mouseDown();
17 eventSender
.mouseUp();
18 eventSender
.mouseDown();
19 eventSender
.mouseUp();