8 background-color: green;
16 <script src=
"resources/text-based-repaint.js" type=
"text/javascript"></script>
18 function repaintTest()
20 var secondRowSpan
= document
.getElementById("secondRowSpan");
21 var secondRowSpanBox
= secondRowSpan
.getBoundingClientRect();
22 var secondRowSpanCenterX
= (secondRowSpanBox
.left
+ secondRowSpanBox
.right
) / 2;
23 var secondRowSpanCenterY
= (secondRowSpanBox
.top
+ secondRowSpanBox
.bottom
) / 2;
25 if (window
.eventSender
) {
26 eventSender
.mouseMoveTo(secondRowSpanCenterX
, secondRowSpanCenterY
);
27 eventSender
.mouseDown();
28 eventSender
.mouseUp();
32 window
.addEventListener("load", runRepaintTest
);
36 <td rowspan=
"2">1,
1</td>
43 <td rowspan=
"2" id=
"secondRowSpan">3,
1</td>