1
0
Fork 0
firefox/testing/web-platform/tests/css/css-page/monolithic-overflow-031-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

27 lines
823 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
:root {
print-color-adjust: exact;
}
body {
margin: 0;
}
@page {
size: 400px 300px;
margin: 0;
}
</style>
<!DOCTYPE html>
<div style="height:50px; background:black;"></div>
<div style="width:350px; height:0;">
There should be 5 pages. The yellow box should go all the way to the
bottom of the fifth page. There should be a black top border at the top of
the first page, and a gray bottom border around halfway down on the third
page. The yellow box should be on the top of the gray border.
</div>
<div style="height:0;">
<div style="height:675px;"></div>
<div style="height:50px; background:gray;"></div>
</div>
<div style="width:50%; height:1450px; background:yellow;"></div>