summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-positioning.typ
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2024-03-03 16:32:27 -0300
committerGitHub <noreply@github.com>2024-03-03 19:32:27 +0000
commitdecb4fd9b98968dbaa89451ab6620b33819260a5 (patch)
treeea2b5c2dcefe85d9be57f28a3c103605b5178513 /tests/typ/layout/grid-positioning.typ
parent098ef5acbb91723c4c806b23e5e5d85523fc88aa (diff)
Merging cells: Rowspans [More Flexible Tables Pt.3b] (#3501)
Diffstat (limited to 'tests/typ/layout/grid-positioning.typ')
-rw-r--r--tests/typ/layout/grid-positioning.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/layout/grid-positioning.typ b/tests/typ/layout/grid-positioning.typ
index ca71cb37..5461fb1c 100644
--- a/tests/typ/layout/grid-positioning.typ
+++ b/tests/typ/layout/grid-positioning.typ
@@ -221,3 +221,11 @@
fill: (x, y) => if calc.odd(x + y) { red.lighten(50%) } else { green },
table.cell(x: 2, y: 6148914691236517206)[a],
)
+
+---
+// Error: 3:3-3:45 cell would span an exceedingly large position
+// Hint: 3:3-3:45 try reducing the cell's rowspan or colspan
+#grid(
+ columns: 500,
+ grid.cell(rowspan: 6148914691236517206)[a]
+)