blob: c84fedee54ff4906971db43b66e570e8780b37a8 [file] [log] [blame]
if (window.testRunner)
testRunner.dumpAsText();
var targetDiv;
function doTest()
{
document.body.offsetWidth;
targetDiv = document.getElementById('target');
if (window.internals) {
internals.setElementUsesDisplayListDrawing(targetDiv, true);
internals.setElementTracksDisplayListReplay(targetDiv, true);
}
if (window.testRunner)
testRunner.display();
if (window.internals) {
var displayList = internals.displayListForElement(targetDiv);
var replayList = internals.replayDisplayListForElement(targetDiv);
document.getElementById('output').textContent = 'recorded: ' + displayList + '\n\nreplayed: ' + replayList;
}
}
window.addEventListener('load', doTest, false);