trisquel-icecat/icecat/testing/web-platform/tests/css/css-page/page-background-004-print-ref.html
2025-10-06 02:35:48 -06:00

31 lines
630 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
@page {
size: 500px 300px;
margin: 0;
}
:root {
print-color-adjust: exact;
}
body {
margin: 0;
background: yellow;
}
.page {
margin: 50px;
border: 10px solid;
padding: 50px;
height: 80px;
break-before: page;
}
</style>
<div class="page">
This page should be completely yellow (with a border).
</div>
<div class="page">
This page should be completely yellow (with a border).
</div>
<div class="page">
This page should be completely yellow (with a border).
</div>