summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/table-row-paint-htb-ltr.html
blob: ecc156bd38bcc414b8d66abf84d355c040f0782d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<link rel="match" href="table-row-paint-htb-ltr-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>
.multicol {
  inline-size: 400px;
  block-size: 100px;
  columns: 4;
  column-fill: auto;
  gap: 0;
}
.pattern {
  background: repeating-linear-gradient(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>
    <tr class="pattern" style="block-size: 110px;">
      <td></td>
      <td></td>
    </tr>
    <tr class="pattern" style="block-size: 135px;">
      <td></td>
      <td></td>
    </tr>
    <caption style="caption-side: bottom; background: red; block-size: 75px;"></caption>
  </table>
</div>