Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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">
<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>