Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/overflowed-abs-pos-with-percentage-height-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Mats Palmgren" 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>