1
0
Fork 0
firefox/testing/web-platform/tests/css/css-page/page-background-002-print.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

24 lines
540 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="http://crbug.com/351332645">
<link rel="match" href="page-background-002-print-ref.html">
<style>
@page {
size: 300px 50px;
margin: 0;
}
:root {
print-color-adjust: exact;
}
body {
margin-left: 100px;
background: url(support/cat.png) no-repeat;
}
</style>
Cat head.
<div style="break-before:page;">
Cat body.
</div>
<div style="break-before:page;">
No cat parts on this page.
</div>