summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/single-line-column-flex-fragmentation-065-print-ref.html
blob: 07d0c637667a5556da69518e18500942759ff554 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
  <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
  <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
  <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1744363">

  <style>
  @page { size: 5in 3in; margin: 0.5in; }
  body {
    margin: 0;
  }
  .flexbox {
    display: block;
    border: 0.25in solid black;
  }
  .flexbox table {
    border-spacing: 0;
  }
  .flexbox thead, .flexbox tfoot {
    background: gold;
  }
  .text, tr {
    block-size: 0.25in;
  }
  </style>

  <div class="text">Before Flexbox</div>
  <div class="flexbox">
    <table>
      <thead><tr><td>Header</td></tr></thead>
      <tfoot><tr><td>Footer</td></tr></tfoot>
      <tbody>
        <tr><td>1</td></tr>
        <tr><td>2</td></tr>
        <tr><td>3</td></tr>
        <tr><td>4</td></tr>
        <tr><td>5</td></tr>
        <tr><td>6</td></tr>
        <tr><td>7</td></tr>
      </tbody>
    </table>
  </div>
  <div class="text">After Flexbox</div>
</html>