1
0
Fork 0
firefox/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
798 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
:root {
print-color-adjust: exact;
}
body { margin: 0; }
</style>
<div style="line-height:20px;">
<div style="position:absolute; width:100%; bottom:0; background:hotpink;">footer</div>
<div style="position:absolute; width:100%; bottom:-100vh; background:hotpink;">footer</div>
<div style="position:absolute; width:100%; bottom:-200vh; background:hotpink;">footer</div>
<div style="height:calc(300vh - 25px); background:black;"></div>
<div style="break-before:page;">PASS</div>
<div style="background:hotpink;">
footer
</div>
</div>
There should be a footer on every page, and the word PASS should be seen here,
on the fourth page, just above the final footer.<br>