<html>
<head>
<script>
function test()
{
if (window.testRunner)
testRunner.dumpAsText();
var table = document.getElementById('table');
table.offsetHeight; // Trigger layout.
table.createCaption(); // Add a caption and mark the table as needing layout.
table.style.cssText = ''; // 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.
}
</script>
</head>
<body onload="test()">
<table border="1" id="table" style="position: absolute; top: 10"></table>
</body>
</html>