summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/spacing.pngbin2527 -> 1864 bytes
-rw-r--r--tests/typ/layout/spacing.typ5
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/ref/layout/spacing.png b/tests/ref/layout/spacing.png
index b2b8707d..c5a1bb80 100644
--- a/tests/ref/layout/spacing.png
+++ b/tests/ref/layout/spacing.png
Binary files differ
diff --git a/tests/typ/layout/spacing.typ b/tests/typ/layout/spacing.typ
index bd670edb..3794612c 100644
--- a/tests/typ/layout/spacing.typ
+++ b/tests/typ/layout/spacing.typ
@@ -10,8 +10,9 @@ Inv #h(0pt) isible
// Multiple spacings in a row.
Add #h(10pt) #h(10pt) up
-// Relative to font size.
-Relative #h(100%) spacing
+// Relative to area.
+#let x = 25% - 4pt
+| #h(x) | #h(x) | #h(x) | #h(x) |
---
// Missing spacing.