OLD | NEW |
| (Empty) |
1 <!-- Based on compositing/repaint/scroll-fixed-layer-no-content.html --> | |
2 <!DOCTYPE html> | |
3 <html> | |
4 <head> | |
5 <script src="resources/paint-invalidation-test.js"></script> | |
6 <script type="text/javascript"> | |
7 if (window.internals) | |
8 internals.settings.setPreferCompositingToLCDTextEnabled(true); | |
9 function paintInvalidationTest() | |
10 { | |
11 window.scrollTo(0, 1000); | |
12 window.scrollTo(0, 100); | |
13 } | |
14 </script> | |
15 </head> | |
16 <body style="height:2000px" onload="runPaintInvalidationTest()"> | |
17 <div style="position: fixed; top: 100px; left: 100px; width: 200px; height:
200px"></div> | |
18 There should be no repaints here: | |
19 </body> | |
20 </html> | |
OLD | NEW |