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/repaint.js"></script> |
5 </head> | 5 </head> |
6 | 6 |
7 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()"
> | 7 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()"
> |
8 <div style="width: 100px; height: 100px; position: absolute; background-color: g
reen;"></div> | 8 <div style="width: 100px; height: 100px; position: absolute; background-color: g
reen;"></div> |
9 | 9 |
10 <script> | 10 <script> |
11 function repaintTest() { | 11 function repaintTest() { |
12 window.resizeBy(0, -window.innerHeight / 2); | 12 window.resizeBy(0, -window.innerHeight / 2); |
13 } | 13 } |
14 </script> | 14 </script> |
15 </body> | 15 </body> |
16 </html> | 16 </html> |
OLD | NEW |