summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/grid-1.pngbin0 -> 928 bytes
-rw-r--r--tests/ref/layout/grid-4.pngbin423 -> 425 bytes
-rw-r--r--tests/typ/bugs/grid-1.typ16
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/bugs/grid-1.png b/tests/ref/bugs/grid-1.png
new file mode 100644
index 00000000..6fd950ad
--- /dev/null
+++ b/tests/ref/bugs/grid-1.png
Binary files differ
diff --git a/tests/ref/layout/grid-4.png b/tests/ref/layout/grid-4.png
index 2bbc84cc..35a05ab5 100644
--- a/tests/ref/layout/grid-4.png
+++ b/tests/ref/layout/grid-4.png
Binary files differ
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)