| <!DOCTYPE html> |
| <html> |
| <body> |
| <style> |
| table td |
| { |
| border: 6px solid green; |
| } |
| td.leftBorderHidden |
| { |
| border-left-style: hidden; |
| } |
| table |
| { |
| border-collapse: collapse; |
| 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 ltr table and a rtl row group properly compute its collapsing borders when the left-most cell's left border is 'hidden'.</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 class="leftBorderHidden"></td> |
| </tr> |
| </tbody> |
| </table> |
| </body></html> |