- function test()
- {
- runAfterDisplay(function() {
- if (window.internals)
- window.internals.startTrackingRepaints(document);
-
- window.scrollTo(0, 100);
-
- runAfterDisplay(function() {
- if (window.internals)
- document.getElementById('layers').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
-
- if (window.testRunner)
- testRunner.notifyDone();
- });
- });
+ function repaintTest() {
+ window.scrollTo(0, 100);