1
0
Fork 0
firefox/testing/web-platform/tests/css/css-page/margin-boxes/dimensions-015-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

24 lines
639 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
@page {
width: 7.5in;
height: 8in;
margin: 0;
}
:root {
print-color-adjust: exact;
}
body {
margin: 0;
}
</style>
<div style="display:flow-root;">
<div style="margin-left:10px; width:1in; height:1.5in; background:cyan;"></div>
</div>
<div style="display:flow-root; margin-top:0.5in; height:6in; background:yellow;">
<div style="margin:10px; width:1in; height:1.5in; background:cyan;"></div>
The page area size should be 7.5 by 6 inches. There should be two identical
cyan boxes above.
</div>