blob: 362cd05ba42ce8e013d9cded99f408ac8676f1bf [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);
if (window.testRunner)
testRunner.displayAndTrackRepaints();
if (window.internals) {
var displayList = internals.displayListForElement(targetDiv);
document.getElementById('output').textContent = displayList;
}
}
window.addEventListener('load', doTest, false);