summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/overflowing-block-print.html
blob: daa9e24f33a49546f852fe387814ec9aa8b56e90 (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
<!DOCTYPE html>
<html>
<title>
  Overflowing content does not affect whether a fixed-height box fits on a page,
  but does get printed on the next page.
</title>
<meta name="flags" content="may">
<link rel="match" href="overflowing-block-print-ref.html">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#parallel-flows">
<style>
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    height: 100%;
  }
  body {
    border: solid orange 10px;
    padding: 10px;
  }
  div {
    border: solid gray 10px;
    height: 300%;
  }
</style>
<div></div>