diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/place-spacing.png | bin | 0 -> 6347 bytes | |||
| -rw-r--r-- | tests/typ/bugs/place-spacing.typ | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/bugs/place-spacing.png b/tests/ref/bugs/place-spacing.png Binary files differnew file mode 100644 index 00000000..d14ce6ec --- /dev/null +++ b/tests/ref/bugs/place-spacing.png diff --git a/tests/typ/bugs/place-spacing.typ b/tests/typ/bugs/place-spacing.typ new file mode 100644 index 00000000..4d7b5fe3 --- /dev/null +++ b/tests/typ/bugs/place-spacing.typ @@ -0,0 +1,15 @@ +// Test that placed elements don't add extra block spacing. + +--- +#show figure: set block(spacing: 4em) + +Paragraph before float. +#figure(rect(), placement: bottom) +Paragraph after float. + +--- +#show place: set block(spacing: 4em) + +Paragraph before place. +#place(rect()) +Paragraph after place. |
