summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-09-27 11:39:31 +0200
committerLaurenz <laurmaedje@gmail.com>2021-09-27 11:39:31 +0200
commit1982a0639e43405c72cf0675263443771b83fd86 (patch)
tree55ee305f3f27ac1b0c23e905e5472770e3ab51ac /tests/typ
parent6c478face427b56e1ac799b0962f77d82b5e1534 (diff)
Expand all but last region for broken up auto rows
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/layout/grid-5.typ17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/typ/layout/grid-5.typ b/tests/typ/layout/grid-5.typ
index cd1c8dc9..18736b90 100644
--- a/tests/typ/layout/grid-5.typ
+++ b/tests/typ/layout/grid-5.typ
@@ -9,3 +9,20 @@
World
]
+
+---
+// Test that broken cell expands vertically.
+#page(height: 2.25cm)
+#grid(
+ columns: 2,
+ gutter: 10pt,
+ [#align(bottom) A],
+ [
+ Top
+ #align(bottom)
+ Bottom \
+ Bottom \
+ Top
+ ],
+ [#align(top) B],
+)