<!DOCTYPE HTML>
<script>
    if (window.testRunner) {
        testRunner.testRepaint();
        testRunner.repaintSweepHorizontally();
    }
</script>
<style>
    table { border-collapse: collapse; background-color: red; margin: 10px; }
    td { width: 50px; height: 50px; background-color: green; }
</style>
<table>
    <tr>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
    </tr>
</table>
<table style="-webkit-writing-mode: vertical-lr;">
    <tr>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
    </tr>
</table>
<table style="-webkit-writing-mode: horizontal-bt;">
    <tr>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
    </tr>
</table>
<table style="-webkit-writing-mode: vertical-rl;">
    <tr>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
    </tr>
</table>
