blob: 78464712c5cb698fd26a7a12b6c522d4bda946d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<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>
|