| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="resources/text-based-repaint.js"></script> | 3 <script src="resources/text-based-repaint.js"></script> |
| 4 <script> | 4 <script> |
| 5 function repaintTest() | 5 function repaintTest() |
| 6 { | 6 { |
| 7 document.getElementById("target").style.width = "100px"; | 7 document.getElementById("target").style.width = "100px"; |
| 8 } | 8 } |
| 9 </script> | 9 </script> |
| 10 </head> | 10 </head> |
| 11 <body onload="runRepaintTest()"> | 11 <body onload="runRepaintAndPixelTest()"> |
| 12 <div> | 12 <div> |
| 13 <span style="-position: relative; top: 25px; left: 25px;"> | 13 <span style="-position: relative; top: 25px; left: 25px;"> |
| 14 <div style="float: left; height: 100px; width: 100px; overflow: hidden;
background-color: red;"> | 14 <div style="float: left; height: 100px; width: 100px; overflow: hidden;
background-color: red;"> |
| 15 <div id="target" style="height: 100px; width: 0; background-color: g
reen;"> | 15 <div id="target" style="height: 100px; width: 0; background-color: g
reen;"> |
| 16 </div> | 16 </div> |
| 17 </div> | 17 </div> |
| 18 </span> | 18 </span> |
| 19 </div> | 19 </div> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |