<head>
<style>
    tr { width: 100px; height: 100px; }
</style>
</head>
<body>
<p>
    This tests for a regression against
    <i><a href="https://bugs.webkit.org/show_bug.cgi?id=5868">http://bugzilla.opendarwin.org/show_bug.cgi?id=5868</a>
    Crash on HP.com with ToT and Safari 2.0.2 in khtml::RenderContainer::detach()</i>.
</p>
<p>
    There should be two 100x100 squares stacked vertically below.
    The green square should be above the blue square.
</p>
<hr>
<table>
<tr style="display:none; background: green;" id="t">
</tr>      
<tr style="display:block; background: blue;"></tr>
</table>
<script language="JavaScript">
    document.getElementById('t').style.display = 'block';
</script>
</body>
