diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-18 12:25:24 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-18 12:37:22 +0200 |
| commit | a302105b9fda249755f6b1b27e010d32587f4946 (patch) | |
| tree | ffade71b45308f051938080ffaf263cc7721850b /tests/typ/layout | |
| parent | db820ae9aa095cf47d4ae3a582467b01613c3711 (diff) | |
Fix duplicate RTL text and alignment + fr bugs
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/spacing.typ | 9 |
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. |
