From e873468ea7deedd6d43f24100591c60a7de5accc Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 12 Feb 2023 11:31:45 +0100 Subject: Change grid base for auto columns --- tests/typ/bugs/grid-1.typ | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/typ/bugs/grid-1.typ (limited to 'tests/typ') 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) -- cgit v1.2.3