diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/issue-path-in-sized-container.png | bin | 0 -> 152 bytes | |||
| -rw-r--r-- | tests/suite/visualize/path.typ | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/ref/issue-path-in-sized-container.png b/tests/ref/issue-path-in-sized-container.png Binary files differnew file mode 100644 index 00000000..ebecc122 --- /dev/null +++ b/tests/ref/issue-path-in-sized-container.png diff --git a/tests/suite/visualize/path.typ b/tests/suite/visualize/path.typ index 10955f14..bdd3dc72 100644 --- a/tests/suite/visualize/path.typ +++ b/tests/suite/visualize/path.typ @@ -50,3 +50,16 @@ --- path-bad-point-array --- // Error: 7-31 point array must contain exactly two entries #path(((0%, 0%), (0%, 0%, 0%))) + +--- issue-path-in-sized-container --- +// Paths used to implement `LayoutMultiple` rather than `LayoutSingle` without +// fulfilling the necessary contract of respecting region expansion. +#block( + fill: aqua, + width: 20pt, + height: 15pt, + path( + (0pt, 0pt), + (10pt, 10pt), + ), +) |
