| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/repaint/resources/repaint.js"></script> | 4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| 5 <script> | 5 <script> |
| 6 function repaintTest() | 6 function repaintTest() |
| 7 { | 7 { |
| 8 document.getElementById('resize-target').style.width = '200px'; | 8 document.getElementById('resize-target').style.width = '200px'; |
| 9 document.getElementById('resize-target').style.height = '200px'; | 9 document.getElementById('resize-target').style.height = '200px'; |
| 10 } | 10 } |
| 11 </script> | 11 </script> |
| 12 </head> | 12 </head> |
| 13 | 13 |
| 14 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()"
> | 14 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintAndPixe
lTest()"> |
| 15 <div id="resize-target" style="width: 400px; height: 400px; position: absolute
;"></div> | 15 <div id="resize-target" style="width: 400px; height: 400px; position: absolute
;"></div> |
| 16 <div style="width: 100px; height: 100px; position: absolute; background-color:
green;"></div> | 16 <div style="width: 100px; height: 100px; position: absolute; background-color:
green;"></div> |
| 17 </body> | 17 </body> |
| 18 </html> | 18 </html> |
| OLD | NEW |