diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/grid-4.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/grid-4.typ')
| -rw-r--r-- | tests/typ/layout/grid-4.typ | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/typ/layout/grid-4.typ b/tests/typ/layout/grid-4.typ deleted file mode 100644 index c7ae7649..00000000 --- a/tests/typ/layout/grid-4.typ +++ /dev/null @@ -1,33 +0,0 @@ -// Test relative sizing inside grids. - ---- -// Test that auto and relative columns use the correct base. -#grid( - columns: (auto, 60%), - rows: (auto, auto), - rect(width: 50%, height: 0.5cm, fill: conifer), - rect(width: 100%, height: 0.5cm, fill: eastern), - rect(width: 50%, height: 0.5cm, fill: forest), -) - ---- -// Test that fr columns use the correct base. -#grid( - columns: (1fr,) * 4, - rows: (1cm,), - rect(width: 50%, fill: conifer), - rect(width: 50%, fill: forest), - rect(width: 50%, fill: conifer), - rect(width: 50%, fill: forest), -) - ---- -// Test that all three kinds of rows use the correct bases. -#set page(height: 4cm, margin: 0cm) -#grid( - rows: (1cm, 1fr, 1fr, auto), - rect(height: 50%, width: 100%, fill: conifer), - rect(height: 50%, width: 100%, fill: forest), - rect(height: 50%, width: 100%, fill: conifer), - rect(height: 25%, width: 100%, fill: forest), -) |
