summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/table-fragmentation-002a-print-ref.html
blob: d7272352a158923070af69e47e07ed08ebb5b11c (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
<!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/">

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

.table {
  width: 3in;
  box-sizing: border-box;
  border: 0.25in solid black;
  padding: 0.5in;
}
.td {
  border: 0.25in solid orange;
}
.content {
  height: 1.5in;
  background: gold;
}
</style>

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