diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 11:31:45 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 11:38:42 +0100 |
| commit | e873468ea7deedd6d43f24100591c60a7de5accc (patch) | |
| tree | 8150dadde1bf3f6c5a3faf52821df8588ad247d3 /tests | |
| parent | 03cbdea4b4dd81929743154ad79835bfbdf63db3 (diff) | |
Change grid base for auto columns
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/grid-1.png | bin | 0 -> 928 bytes | |||
| -rw-r--r-- | tests/ref/layout/grid-4.png | bin | 423 -> 425 bytes | |||
| -rw-r--r-- | tests/typ/bugs/grid-1.typ | 16 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/bugs/grid-1.png b/tests/ref/bugs/grid-1.png Binary files differnew file mode 100644 index 00000000..6fd950ad --- /dev/null +++ b/tests/ref/bugs/grid-1.png diff --git a/tests/ref/layout/grid-4.png b/tests/ref/layout/grid-4.png Binary files differindex 2bbc84cc..35a05ab5 100644 --- a/tests/ref/layout/grid-4.png +++ b/tests/ref/layout/grid-4.png diff --git a/tests/typ/bugs/grid-1.typ b/tests/typ/bugs/grid-1.typ new file mode 100644 index 00000000..c583cfe5 --- /dev/null +++ b/tests/typ/bugs/grid-1.typ @@ -0,0 +1,16 @@ +// Test that grid base for auto rows makes sense. + +--- +#set page(height: 150pt) +#table( + columns: (1.5cm, auto), + rows: (auto, auto), + rect(width: 100%, fill: red), + rect(width: 100%, fill: blue), + rect(width: 100%, height: 50%, fill: green), +) + +--- +#rect(width: 100%, height: 1em) +- #rect(width: 100%, height: 1em) + - #rect(width: 100%, height: 1em) |
