summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-stroke.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/grid-stroke.typ')
-rw-r--r--tests/typ/layout/grid-stroke.typ12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/typ/layout/grid-stroke.typ b/tests/typ/layout/grid-stroke.typ
index 7a01b52d..35a65ae6 100644
--- a/tests/typ/layout/grid-stroke.typ
+++ b/tests/typ/layout/grid-stroke.typ
@@ -302,6 +302,18 @@
)
---
+// Red line should be above [c] (hline skips the shortest rowspan).
+#set text(6pt)
+#table(
+ rows: 1em,
+ columns: 2,
+ inset: 1.5pt,
+ table.cell(rowspan: 3)[a], table.cell(rowspan: 2)[b],
+ table.hline(stroke: red),
+ [c]
+)
+
+---
// Error: 8:3-8:32 cannot place horizontal line at the 'bottom' position of the bottom border (y = 2)
// Hint: 8:3-8:32 set the line's position to 'top' or place it at a smaller 'y' index
#table(