| <script type="text/javascript"> |
| internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true); |
| internals.settings.setFixedPositionCreatesStackingContext(true); |
| document.body.offsetHeight; |
| window.internals.startTrackingRepaints(document); |
| window.scrollTo(0, 1000); |
| document.getElementById('repaintRects').textContent = window.internals.repaintRectsAsText(document); |
| <body style="height:2000px" onload="test()"> |
| <div style="position: fixed; top: 100px; left: 100px; width: 200px; height: 200px"></div> |
| There should be no repaints here: |
| <pre id="repaintRects"></pre> |