OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 table { background-color: lightblue; height: 100px; } | 4 table { background-color: lightblue; height: 100px; } |
5 td { width: 100px; height: 50px; } | 5 td { width: 100px; height: 50px; } |
6 div#target { height: 25px; background-color: lightgreen; } | 6 div#target { height: 25px; background-color: lightgreen; } |
7 </style> | 7 </style> |
8 <script src="resources/text-based-repaint.js"></script> | 8 <script src="resources/text-based-repaint.js"></script> |
9 <script> | 9 <script> |
10 function repaintTest() | 10 function repaintTest() |
11 { | 11 { |
12 document.getElementById("target").style.width = "50px"; | 12 document.getElementById("target").style.width = "50px"; |
13 } | 13 } |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body onload="runRepaintAndPixelTest()"> | 16 <body onload="runRepaintAndPixelTest()"> |
17 <table> | 17 <table> |
18 <tr> | 18 <tr> |
19 <td> | 19 <td> |
20 <div id="target"></div> | 20 <div id="target"></div> |
21 </td> | 21 </td> |
22 </tr> | 22 </tr> |
23 </table> | 23 </table> |
24 </body> | 24 </body> |
25 </html> | 25 </html> |
OLD | NEW |