blob: 8451fece7ec5bd240ec47e4da0b5347cea354403 [file] [log] [blame]
var frameDoc;
var loadCount = 0;
function loaded()
{
loadCount++;
if (loadCount == 2) {
document.body.offsetTop;
beginTest();
}
}
function beginTest()
{
if (window.testRunner) {
document.body.offsetTop;
testRunner.displayAndTrackRepaints();
test(document.getElementById("iframe").contentDocument);
} else setTimeout(
function() {
test(document.getElementById("iframe").contentDocument);
},
10
);
}