blob: ba0372df0698cb3025002d2c183ac7666bfd6170 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<link rel="author" title="Psychpsyo" href="mailto:psychpsyo@gmail.com" />
<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).</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>
|