diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-break/overflowed-abs-pos-with-percentage-height-print.html')
-rw-r--r-- | testing/web-platform/tests/css/css-break/overflowed-abs-pos-with-percentage-height-print.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/overflowed-abs-pos-with-percentage-height-print.html b/testing/web-platform/tests/css/css-break/overflowed-abs-pos-with-percentage-height-print.html new file mode 100644 index 0000000000..bbc1a40ffe --- /dev/null +++ b/testing/web-platform/tests/css/css-break/overflowed-abs-pos-with-percentage-height-print.html @@ -0,0 +1,25 @@ +<!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> |