blob: 45d92d16471df4f2778aba68c983159299c11464 [file] [log] [blame]
// 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);
}
}