summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-30 14:49:55 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-30 14:49:55 +0100
commitbdf06c9c61c3a9e0e9104d012828583638797edc (patch)
treed47124fe4c5f54eace49df2ed34691931d4f8e77 /tests
parent579dac3c91faf73866f4b9b13381393ddf7b2f9b (diff)
Fix auto column shrinking behaviour
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/grid-auto-shrink.pngbin0 -> 7796 bytes
-rw-r--r--tests/typ/layout/grid-auto-shrink.typ12
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/layout/grid-auto-shrink.png b/tests/ref/layout/grid-auto-shrink.png
new file mode 100644
index 00000000..851e8b7e
--- /dev/null
+++ b/tests/ref/layout/grid-auto-shrink.png
Binary files differ
diff --git a/tests/typ/layout/grid-auto-shrink.typ b/tests/typ/layout/grid-auto-shrink.typ
new file mode 100644
index 00000000..4d9ef0d8
--- /dev/null
+++ b/tests/typ/layout/grid-auto-shrink.typ
@@ -0,0 +1,12 @@
+// Test iterative auto column shrinking.
+
+---
+#set page(width: 210mm - 2 * 2.5cm + 2 * 10pt)
+#set text(11pt)
+#table(
+ columns: 4,
+ [Hello!],
+ [Hello there, my friend!],
+ [Hello there, my friends! Hi!],
+ [Hello there, my friends! Hi! What is going on right now?],
+)