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-3.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/grid-3.typ')
| -rw-r--r-- | tests/typ/layout/grid-3.typ | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/tests/typ/layout/grid-3.typ b/tests/typ/layout/grid-3.typ deleted file mode 100644 index a6c72d6c..00000000 --- a/tests/typ/layout/grid-3.typ +++ /dev/null @@ -1,61 +0,0 @@ -// Test grid cells that overflow to the next region. - ---- -#set page(width: 5cm, height: 3cm) -#grid( - columns: 2, - row-gutter: 8pt, - [Lorem ipsum dolor sit amet. - - Aenean commodo ligula eget dolor. Aenean massa. Penatibus et magnis.], - [Text that is rather short], - [Fireflies], - [Critical], - [Decorum], - [Rampage], -) - ---- -// Test a column that starts overflowing right after another row/column did -// that. -#set page(width: 5cm, height: 2cm) -#grid( - columns: 4 * (1fr,), - row-gutter: 10pt, - column-gutter: (0pt, 10%), - align(top, image("/assets/images/rhino.png")), - align(top, rect(inset: 0pt, fill: eastern, align(right)[LoL])), - [rofl], - [\ A] * 3, - [Ha!\ ] * 3, -) - ---- -// Test two columns in the same row overflowing by a different amount. -#set page(width: 5cm, height: 2cm) -#grid( - columns: 3 * (1fr,), - row-gutter: 8pt, - column-gutter: (0pt, 10%), - [A], [B], [C], - [Ha!\ ] * 6, - [rofl], - [\ A] * 3, - [hello], - [darkness], - [my old] -) - ---- -// Test grid within a grid, overflowing. -#set page(width: 5cm, height: 2.25cm) -#grid( - columns: 4 * (1fr,), - row-gutter: 10pt, - column-gutter: (0pt, 10%), - [A], [B], [C], [D], - grid(columns: 2, [A], [B], [C\ ]*3, [D]), - align(top, rect(inset: 0pt, fill: eastern, align(right)[LoL])), - [rofl], - [E\ ]*4, -) |
