diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/block-sticky-breakable.png | bin | 0 -> 405 bytes | |||
| -rw-r--r-- | tests/suite/layout/container.typ | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/block-sticky-breakable.png b/tests/ref/block-sticky-breakable.png Binary files differnew file mode 100644 index 00000000..91287a7e --- /dev/null +++ b/tests/ref/block-sticky-breakable.png diff --git a/tests/suite/layout/container.typ b/tests/suite/layout/container.typ index d054175a..e1367967 100644 --- a/tests/suite/layout/container.typ +++ b/tests/suite/layout/container.typ @@ -180,6 +180,12 @@ A #colbreak() C +--- block-sticky-breakable --- +// Ensure that sticky blocks are still breakable. +#set page(height: 60pt) +#block(sticky: true, lines(4)) +E + --- box-clip-rect --- // Test box clipping with a rectangle Hello #box(width: 1em, height: 1em, clip: false)[#rect(width: 3em, height: 3em, fill: red)] |
