<!DOCTYPE html>
<link rel="match" href="table-collapsed-borders-paint-vlr-rtl-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#fragmentation">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#rendering">
<style>
body {
  writing-mode: vertical-lr;
  direction: rtl;
}
.multicol {
  inline-size: 400px;
  block-size: 100px;
  columns: 4;
  column-fill: auto;
  gap: 10px;
  padding: 10px;
  border: solid 3px;
}
</style>
<div class="multicol">
  <table style="border-collapse: collapse; inline-size: 100%;">
    <caption style="background: dodgerblue; block-size: 120px;"></caption>
    <tbody>
      <tr style="block-size: 50px;">
        <td style="border: solid 10px lime;"></td>
      </tr>
      <tr style="block-size: 145px;">
        <td style="border: solid 10px;"></td>
      </tr>
    </tbody>
    <tbody>
      <tr style="block-size: 50px;">
        <td style="border: solid blue 10px;"></td>
      </tr>
      <tr style="block-size: 25px;">
        <td style="border: solid blue 10px;"></td>
      </tr>
    </tbody>
  </table>
</div>
