diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/grid-2.png | bin | 0 -> 9958 bytes | |||
| -rw-r--r-- | tests/ref/layout/grid-3.png | bin | 44308 -> 44312 bytes | |||
| -rw-r--r-- | tests/typ/bugs/grid-2.typ | 18 |
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/ref/bugs/grid-2.png b/tests/ref/bugs/grid-2.png Binary files differnew file mode 100644 index 00000000..2d39e186 --- /dev/null +++ b/tests/ref/bugs/grid-2.png diff --git a/tests/ref/layout/grid-3.png b/tests/ref/layout/grid-3.png Binary files differindex d9562e9a..f6c17835 100644 --- a/tests/ref/layout/grid-3.png +++ b/tests/ref/layout/grid-3.png diff --git a/tests/typ/bugs/grid-2.typ b/tests/typ/bugs/grid-2.typ new file mode 100644 index 00000000..bdcdf548 --- /dev/null +++ b/tests/typ/bugs/grid-2.typ @@ -0,0 +1,18 @@ +// Grid now skips a remaining region when one of the cells +// doesn't fit into it at all. + +--- +#set page(height: 100pt) +#grid( + columns: (2cm, auto), + rows: (auto, auto), + rect(width: 100%, fill: red), + rect(width: 100%, fill: blue), + rect(width: 100%, height: 80%, fill: green), + [Hello], +) + +--- +#set page(height: 60pt) +#lorem(5) +- #lorem(5) |
