diff options
Diffstat (limited to 'tests/typ/layout/spacing.typ')
| -rw-r--r-- | tests/typ/layout/spacing.typ | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/typ/layout/spacing.typ b/tests/typ/layout/spacing.typ index 98a6100c..37aa8eaa 100644 --- a/tests/typ/layout/spacing.typ +++ b/tests/typ/layout/spacing.typ @@ -18,7 +18,17 @@ Add #h(10pt) #h(10pt) up | #h(1fr) | #h(2fr) | #h(1fr) | --- -// Test that spacing has style properties. +// Test spacing collapsing with parbreaks. +#v(0pt) +A +#v(0pt) +B +#v(0pt) + +C #parbreak() D + +--- +// Test that spacing can carry paragraph and page style properties. A[#set par(align: right);#h(1cm)]B [#set page(height: 20pt);#v(1cm)] |
