diff options
| author | PgBiel <9021226+PgBiel@users.noreply.github.com> | 2024-03-11 07:32:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-11 10:32:44 +0000 |
| commit | 443cf60ae21d7d638a3279b64e22f6beb3a5f1b0 (patch) | |
| tree | 3f6fb7d51f5f7162e39244f3ae61fd576cb8c76a /tests/typ | |
| parent | 3310dda0085aea6bca9ed574410b65f2b93de94b (diff) | |
Ensure hline/vline positioning respects colspan/rowspan (#3610)
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/layout/grid-stroke.typ | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/typ/layout/grid-stroke.typ b/tests/typ/layout/grid-stroke.typ index 9d01e1cd..7a01b52d 100644 --- a/tests/typ/layout/grid-stroke.typ +++ b/tests/typ/layout/grid-stroke.typ @@ -289,6 +289,19 @@ ) --- +// - Vline should be placed after the colspan. +// - Hline should be placed under the full-width rowspan. +#table( + columns: 3, + rows: 1.25em, + inset: 1pt, + stroke: none, + table.cell(colspan: 2)[a], table.vline(stroke: red), table.hline(stroke: blue), [b], + [c], [d], [e], + table.cell(colspan: 3, rowspan: 2)[a], table.vline(stroke: blue), table.hline(stroke: red) +) + +--- // 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( |
