3 <title>Simple Table Painting
</title>
5 table.testtable { border:
1px solid black; border-collapse:collapse; background-color: green; }
6 table.testtable td { border:
1px solid black; font-size:
20px; background-color: green; width:
60px; height:
60px; direction:rtl;}
10 if (window
.testRunner
) {
11 window
.testRunner
.waitUntilDone();
13 function repaintTest() {
14 var testCell
= document
.getElementById("testcell");
15 var offset
= document
.body
.offsetTop
;
16 testCell
.style
.backgroundColor
= "green";
17 if (window
.testRunner
) {
18 window
.testRunner
.notifyDone();
22 <script type=
"text/javascript" src=
"../../resources/run-after-layout-and-paint.js"></script>
24 <body onload=
"runAfterLayoutAndPaint(repaintTest);">
25 <table class=
"testtable">
43 <td style=
"background-color: red;" id=
"testcell"></td>