OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | 2 <script src="resources/text-based-repaint.js"></script> |
3 <div id="scroller" style="overflow: hidden; width: 300px; height: 300px; backfac
e-visibility: hidden; border: 1px solid black"> | 3 <div id="scroller" style="overflow: hidden; width: 300px; height: 300px; backfac
e-visibility: hidden; border: 1px solid black"> |
4 <div style="width: 300px; height: 600px"></div> | 4 <div style="width: 300px; height: 600px"></div> |
5 <div style="width: 100px; height: 100px; background: lightgray"></div> | 5 <div style="width: 100px; height: 100px; background: lightgray"></div> |
6 </div> | 6 </div> |
7 <script> | 7 <script> |
8 onload = runRepaintTest; | 8 onload = runRepaintTest; |
9 | 9 |
10 function repaintTest() { | 10 function repaintTest() { |
11 scroller.scrollTop = 400; | 11 scroller.scrollTop = 400; |
12 } | 12 } |
13 </script> | 13 </script> |
OLD | NEW |