<html>
<head>
    <title></title>
    <script type="text/javascript">
        function test()
        {
            document.body.offsetTop;
            document.getElementById('t').style.display='none';
        }
    </script>
</head>
<body onload="test()">
    <p>
        This is a regression test for
        <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9652">http://bugzilla.opendarwin.org/show_bug.cgi?id=9652</a>
        Assertion failure when changing an RTL table cell to display:none</i>.
    </p>
    <hr>
    <p>
        No assertion failure means TEST PASS.
    </p>
    <table dir="rtl" style="border: 1px solid green;"> 
        <tr>
            <td>Lorem</td>
            <td id="t">ipsum</td>
        </tr>
    </table>
</body>
</html>
