4 <script type=
"text/javascript">
7 if (!window
.testRunner
)
9 var target
= document
.getElementById("target");
11 for (i
= 0; i
< target
.children
.length
; i
++) {
12 var div
= target
.children
[i
];
13 var clickX
= div
.offsetLeft
+ div
.offsetWidth
+ 5;
14 var clickY
= div
.offsetTop
+ 5;
15 eventSender
.mouseMoveTo(clickX
, clickY
);
16 eventSender
.mouseDown();
17 eventSender
.mouseUp();
18 eventSender
.leapForward(1000); // we're not multi-clicking
23 <body onload=
"test()">
25 This is a regression test for
<i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=9879">http://bugzilla.opendarwin.org/show_bug.cgi?id=
9879</a>
26 REGRESSION: Repro crash when clicking to the side of an anonymous table
</i>.
29 If the browser does not crash as you click to the right of each of the lines below, it passes the test.
33 <div style=
"display:table-row;">
34 Click to the right of this text
37 <div style=
"display:table-cell;">
38 Click to the right of this text
41 <div style=
"display:table-caption;">
42 Click to the right of this text
45 <div style=
"display:table-row-group;">
46 Click to the right of this text