summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/grid-5.pngbin1427 -> 3068 bytes
-rw-r--r--tests/typ/layout/grid-5.typ17
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/ref/layout/grid-5.png b/tests/ref/layout/grid-5.png
index a43408f8..37666cc3 100644
--- a/tests/ref/layout/grid-5.png
+++ b/tests/ref/layout/grid-5.png
Binary files differ
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],
+)