1
0
Fork 0
firefox/testing/web-platform/tests/css/css-page/page-box-008-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

23 lines
785 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
:root {
print-color-adjust: exact;
writing-mode: vertical-rl;
}
@page {
size: 400px 800px;
margin: 0;
}
body {
margin: 0;
}
</style>
<div style="box-sizing:border-box; width:400px; border:solid blue; border-width:16px 32px 48px 80px;">
<div style="box-sizing:border-box; width:288px; border:solid hotpink; background:yellow; border-width:16px 32px 48px 80px; padding:4px;">
This document should be in vertical-rl writing-mode.<br>
The page padding (in hotpink) and margins (in blue) should be identical.
They should be smallest at the top, larger at the right, even larger at the
bottom, and largest at the left.
</div>
</div>