blob: 947601d7fba03a710852f9837f00103e349cd225 [file] [log] [blame]
function test()
if (window.testRunner)
var table = document.getElementById('table');
table.offsetHeight; // Trigger layout.
table.createCaption(); // Add a caption and mark the table as needing layout. = ''; // Remove the absolute positioning.
table.innerHTML = 'PASS: If there is no crash, the test passed.'; // Blow away the caption, knowing the housekeeping won't be done.
<body onload="test()">
<table border="1" id="table" style="position: absolute; top: 10"></table>