summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-12 16:38:14 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-12 16:38:18 +0100
commitebbee6274cafa6865a0d9123b78cae305c3c12aa (patch)
treeb3c982a5a46a3dcfc8cce642eacf252a0901f183 /tests
parent6260878245bdf81d7b928777e4fc1018c6651878 (diff)
Fix square base
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/square-base.pngbin0 -> 150 bytes
-rw-r--r--tests/ref/visualize/shape-square.pngbin18061 -> 18059 bytes
-rw-r--r--tests/typ/bugs/square-base.typ5
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/bugs/square-base.png b/tests/ref/bugs/square-base.png
new file mode 100644
index 00000000..290ee54e
--- /dev/null
+++ b/tests/ref/bugs/square-base.png
Binary files differ
diff --git a/tests/ref/visualize/shape-square.png b/tests/ref/visualize/shape-square.png
index 3d81f2ed..e8433a56 100644
--- a/tests/ref/visualize/shape-square.png
+++ b/tests/ref/visualize/shape-square.png
Binary files differ
diff --git a/tests/typ/bugs/square-base.typ b/tests/typ/bugs/square-base.typ
new file mode 100644
index 00000000..d8339c1a
--- /dev/null
+++ b/tests/typ/bugs/square-base.typ
@@ -0,0 +1,5 @@
+// Test that square sets correct base for its content.
+
+---
+#set page(height: 80pt)
+#square(width: 40%, rect(width: 60%, height: 80%))