1
0
Fork 0
firefox/testing/web-platform/tests/css/css-break/grid/monolithic-overflow-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
985 B
HTML

<!DOCTYPE html>
<link rel="author" title="Psychpsyo" href="mailto:psychpsyo@gmail.com" />
<style>
:root {
print-color-adjust: exact;
}
</style>
<p style="height: 50vh">Test passes if there is two purple rectangles at the start of both page 2 and 3 when printing the page (Ctrl+P, with "print backgrounds" enabled).</p>
<div style="display:grid; grid-template-columns:1fr 1fr; break-before:page;">
<div style="contain:size; height:75vh;">
<div style="height:75vh; width: 100px; background:purple;"></div>
</div>
<div style="contain:size; height:75vh;">
<div style="height:75vh; width: 100px; background:purple;"></div>
</div>
</div>
<div style="display:grid; grid-template-columns:1fr 1fr; break-before:page;">
<div style="contain:size; height:75vh;">
<div style="height:75vh; width: 100px; background:purple;"></div>
</div>
<div style="contain:size; height:75vh;">
<div style="height:75vh; width: 100px; background:purple;"></div>
</div>
</div>