summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/rtl-cell-display-none-assert.html
blob: 2128d9a15cbc3639b2f825156ec6888cb3bbd99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<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>