// Note: pixel based repaint tests are now deprecated. Please use text-based-repaint.js in new repaint tests. | |
function runRepaintTest() | |
{ | |
if (window.testRunner) { | |
if (document.body) | |
document.body.offsetTop; | |
else if (document.documentElement) | |
document.documentElement.offsetTop; | |
testRunner.displayAndTrackRepaints(); | |
repaintTest(); | |
} else { | |
setTimeout(repaintTest, 100); | |
} | |
} |