1
0
Fork 0
firefox/testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.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
660 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-page-3/#page-properties">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8508">
<link rel="match" href="page-margin-negative-print-ref.tentative.html">
<style>
@page {
size: 300px;
margin: -20px;
}
:root {
print-color-adjust: exact;
}
body {
margin: 0;
background: yellow;
}
.fullpager {
width: 300px;
height: 300px;
border: 20px solid red;
background: green;
}
</style>
<div class="fullpager">
Green background, no red / yellow.
</div>