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