summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-08-17 00:17:28 +0200
committerLaurenz <laurmaedje@gmail.com>2021-08-17 00:17:28 +0200
commit9a798ce6f6e734a02764473891632c071fed41ee (patch)
treecb433d5b6309f55799749c19eec8579d86bf36b2 /tests/typ
parent9462fb17b390c57846b9215217ca7c32b649f0a5 (diff)
Make percentages for h and v relative to area instead of font size
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/layout/spacing.typ5
1 files changed, 3 insertions, 2 deletions
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.