blob: f33ade9db86f4fcee0749a2a6f556bc0e149edac [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<style>
td
{
border: 6px solid green;
height: 20px;
width: 120px;
padding: 0px;
}
td.rightBorderHidden
{
border-right-style: hidden;
}
table
{
border-collapse: collapse;
border-spacing: 0px;
}
</style>
<p>This was a test for wkbug.com/87900: Add support for direction on table row group with collapsing borders,
but changed behavior when fixing crbug.com/727173.
<p>This test checks that a ltr table and a rtl row group (which should not affect cell ordering) properly compute its collapsing borders when the left-most cell's right border is 'hidden'.</p>
<p>For this test to pass, there should be only a rectangle with green borders.</p>
<table>
<tbody dir="rtl">
<tr>
<td class="rightBorderHidden"></td>
<td></td>
</tr>
</tbody>
</table>
</body></html>