summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/grid-5.pngbin0 -> 1427 bytes
-rw-r--r--tests/typ/layout/grid-5.typ11
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ref/layout/grid-5.png b/tests/ref/layout/grid-5.png
new file mode 100644
index 00000000..a43408f8
--- /dev/null
+++ 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
new file mode 100644
index 00000000..cd1c8dc9
--- /dev/null
+++ b/tests/typ/layout/grid-5.typ
@@ -0,0 +1,11 @@
+
+---
+// Test that trailing linebreak doesn't overflow the region.
+#page(height: 2cm)
+#grid[
+ Hello \
+ Hello \
+ Hello \
+
+ World
+]