<!DOCTYPE html>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1699605">
<link rel="help" href="https://www.w3.org/TR/css-break-3/">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1699605">
<link rel="match" href="overflowed-abs-pos-with-percentage-height-print-ref.html">
<meta name="flags" content="paged">
<style>
@page { size:5in 3in; margin:0.5in; }
div.cell {
  padding: 5px;
  position: relative;
}
div.cell:before {
  position: absolute;
  width: 5px;
  height: calc(100% + 2px);
  content: '';
}
</style>

<div style="height:50vh"></div>

<div class="cell">
  <div style="height:50vh"></div>
</div>
