summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/table-fragmentation-002b-print.html
blob: 97e102e3cd725e5e1eaa6f35d6361557f49a5e45 (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
<!DOCTYPE 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://bugzilla.mozilla.org/show_bug.cgi?id=1863421">
<link rel="match" href="table-fragmentation-002a-print-ref.html">

<style>
@page { size: 5in 3in; margin: 0.5in; }
body { margin: 0; }

table {
  inline-size: 3in;
  block-size: 3.5in;
  border-spacing: 0.25in;
  border: 0.25in solid black;
  padding: 0.25in;
}
td {
  vertical-align: top;
  padding: 0;
  border: 0.25in solid orange;
}
.content {
  block-size: 1.5in;
  background: gold;
}
</style>

<div style="height: 0.25in">BEFORE TABLE</div>
<table>
  <tbody>
    <tr>
      <td><div class="content"></div></td>
    </tr>
  </tbody>
</table>
<div style="height: 0.25in">AFTER TABLE</div>