1 <!-- Based on fast/repaint/hover-invalidation-table.html -->
5 background-color: green;
13 <script src=
"resources/paint-invalidation-test.js" type=
"text/javascript"></script>
15 window
.expectedPaintInvalidationObjects
= [
16 "LayoutTableCell TD id='secondRowSpan'",
18 "LayoutTableRow TR class='bla'",
20 function paintInvalidationTest()
22 var secondRowSpan
= document
.getElementById("secondRowSpan");
23 var secondRowSpanBox
= secondRowSpan
.getBoundingClientRect();
24 var secondRowSpanCenterX
= (secondRowSpanBox
.left
+ secondRowSpanBox
.right
) / 2;
25 var secondRowSpanCenterY
= (secondRowSpanBox
.top
+ secondRowSpanBox
.bottom
) / 2;
27 if (window
.eventSender
) {
28 eventSender
.mouseMoveTo(secondRowSpanCenterX
, secondRowSpanCenterY
);
29 eventSender
.mouseDown();
30 eventSender
.mouseUp();
34 window
.addEventListener("load", runPaintInvalidationTest
);
38 <td rowspan=
"2">1,
1</td>
45 <td rowspan=
"2" id=
"secondRowSpan">3,
1</td>