wpt / css / css-break / table / table-section-paint-vlr-rtl.html

Status: FAIL | Duration: 21ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-break/table/table-section-paint-vlr-rtl.html

<!DOCTYPE html>
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-400" />
<link rel="match" href="table-section-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: 0;
}
.pattern {
  background: repeating-linear-gradient(to right, orange, orange 30px, dodgerblue 30px, dodgerblue 60px);
}
</style>
<div class="multicol">
  <table style="border-spacing: 10px; inline-size: 100%;">
    <caption style="background: red; block-size: 50px;"></caption>
    <tbody class="pattern">
      <tr style="block-size: 110px;">
        <td></td>
        <td></td>
      </tr>
      <tr style="block-size: 135px;">
        <td></td>
        <td></td>
      </tr>
    </tbody>
    <caption style="caption-side: bottom; background: red; block-size: 75px;"></caption>
  </table>
</div>

/css/css-break/table/table-section-paint-vlr-rtl-ref.html

<!DOCTYPE html>
<style>
body {
  writing-mode: vertical-lr;
  direction: rtl;
}
.multicol {
  inline-size: 400px;
  block-size: 100px;
  columns: 4;
  column-fill: auto;
  gap: 0;
}
.pattern {
  background: repeating-linear-gradient(to right, orange, orange 30px, dodgerblue 30px, dodgerblue 60px);
}
</style>
<div class="multicol">
  <div style="position: relative; inline-size: 100%; block-size: 400px;">
    <div style="position: absolute; inset-block-start: 0; inline-size: 100%; background: red; block-size: 50px;"></div>
    <div class="pattern" style="position: absolute; inset-block-start: 60px; inset-inline-start: 10px; inline-size: calc(100% - 20px); block-size: 255px;"></div>
    <div style="position: absolute; inset-block-start: 170px; inline-size: 100%; block-size: 10px; background: white;"></div>
    <div style="position: absolute; inset-block-start: 60px; inset-inline-start: 45px; inline-size: 10px; block-size: 255px; background: white;"></div>
    <div style="position: absolute; inset-block-end: 0; inline-size: 100%; background: red; block-size: 75px;"></div>
  </div>
</div>