summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/stack-1.pngbin317 -> 714 bytes
-rw-r--r--tests/typ/layout/stack-1.typ10
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/layout/stack-1.png b/tests/ref/layout/stack-1.png
index 535632c4..46c8d9d6 100644
--- a/tests/ref/layout/stack-1.png
+++ b/tests/ref/layout/stack-1.png
Binary files differ
diff --git a/tests/typ/layout/stack-1.typ b/tests/typ/layout/stack-1.typ
index 2fbe22e3..02083d2b 100644
--- a/tests/typ/layout/stack-1.typ
+++ b/tests/typ/layout/stack-1.typ
@@ -19,6 +19,16 @@
#stack(dir: btt, ..items)
---
+// Test RTL alignment.
+#page(width: 50pt, margins: 5pt)
+#font(8pt)
+#stack(dir: rtl,
+ align(center, [A]),
+ align(left, [B]),
+ [C],
+)
+
+---
// Test spacing.
#page(width: 50pt, margins: 0pt)
#par(spacing: 5pt)