1
0
Fork 0
firefox/testing/web-platform/tests/css/css-grid/grid-fragmentation-between-rows-001-print-ref.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

25 lines
873 B
HTML

<!DOCTYPE html>
<style>
:root {
print-color-adjust: exact;
}
</style>
<div style="height:40vh">
Test passes if there is two purple boxes on both page 1 and page 2 in print mode. (Ctrl+P, with "print backgrounds" enabled)
</div>
<div style="display:grid; grid-template-columns:1fr 1fr;">
<div style="contain:size; height:40vh;">
<div style="height:40vh; width: 20vw; background:purple;"></div>
</div>
<div style="contain:size; height:40vh;">
<div style="height:40vh; width: 20vw; background:purple;"></div>
</div>
</div>
<div style="display:grid; grid-template-columns:1fr 1fr; break-before:page;">
<div style="contain:size; height:40vh;">
<div style="height:40vh; width: 20vw; background:purple;"></div>
</div>
<div style="contain:size; height:40vh;">
<div style="height:40vh; width: 20vw; background:purple;"></div>
</div>
</div>