44ffe4ce4ae555d202c5e8bd25caa734a60c3181
[WebKit-https.git] / LayoutTests / fast / table / simple_paint.html
1 <html>
2 <head>
3 <title>Simple Table Painting</title>
4   <style>
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;}
7     body { margin: 0px 0px 0px 0px; }
8   </style>
9   <script>
10       if (window.layoutTestController) {
11           window.layoutTestController.waitUntilDone();
12       }
13   </script>
14 </head>
15   <body>
16     <table class="testtable">
17       <tr>
18         <td></td>
19         <td></td>
20         <td></td>
21         <td></td>
22         <td></td>
23       </tr>
24       <tr>
25         <td></td>
26         <td></td>
27         <td></td>
28         <td></td>
29         <td></td>
30       </tr>
31       <tr>
32         <td></td>
33         <td></td>
34         <td style="background-color: red;" id="testcell"></td>
35         <td></td>
36         <td></td>
37       </tr>
38       <tr>
39         <td></td>
40         <td></td>
41         <td></td>
42         <td></td>
43         <td></td>
44       </tr>
45       <tr>
46         <td></td>
47         <td></td>
48         <td></td>
49         <td></td>
50         <td></td>
51       </tr>
52     </table>
53     <script>
54       var testCell = document.getElementById("testcell");
55       var offset = document.body.offsetTop;
56       testCell.style.backgroundColor = "green";
57       if (window.layoutTestController) {
58           window.layoutTestController.notifyDone();
59       }
60     </script>
61   </body>
62 </html>