summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/spacing.typ9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/typ/layout/spacing.typ b/tests/typ/layout/spacing.typ
index 82531efc..378c11b8 100644
--- a/tests/typ/layout/spacing.typ
+++ b/tests/typ/layout/spacing.typ
@@ -21,7 +21,14 @@ Add #h(10pt) #h(10pt) up
// Test spacing collapsing before spacing.
#set par(align: right)
A #h(0pt) B #h(0pt) \
-A B
+A B \
+A #h(-1fr) B
+
+---
+// Test RTL spacing.
+#set text(dir: rtl)
+A #h(10pt) B \
+A #h(1fr) B
---
// Missing spacing.