<!DOCTYPE html>
<html>
<body>
    <style>
        table td
        {
            border: 6px solid green;
            border-left: 0px;
        }
        table
        {
            border-collapse: separate;
            border-spacing: 0px;
        }
        td {
            height: 20px;
            width: 120px;
            padding: 0px;
        }
    </style>
    <p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=87900">87900</a>: Add support for direction on table row group with collapsing borders</p>
    <p>This test checks that a table with a rtl row group properly compute its separate borders when the left borders are disabled.</p>
    <p>For this test to pass, there should be only green borders on the cells and no left border on the table.</p>
    <table>
        <tbody dir="rtl">
        <tr>
            <td></td>
            <td></td>
        </tr>
        </tbody>
    </table>
</body></html>
