mirror of
https://github.com/typst/typst
synced 2025-05-17 10:35:28 +08:00
additional footer breakability tests
This commit is contained in:
parent
be12824af2
commit
1fed6b09b4
BIN
tests/ref/grid-footer-non-repeatable-unbreakable.png
Normal file
BIN
tests/ref/grid-footer-non-repeatable-unbreakable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 365 B |
BIN
tests/ref/grid-footer-repeatable-unbreakable.png
Normal file
BIN
tests/ref/grid-footer-repeatable-unbreakable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 340 B |
@ -389,6 +389,29 @@
|
|||||||
table.footer[a][b][c]
|
table.footer[a][b][c]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
--- grid-footer-repeatable-unbreakable ---
|
||||||
|
#set page(height: 8em, width: auto)
|
||||||
|
#table(
|
||||||
|
[h],
|
||||||
|
table.footer(
|
||||||
|
[a],
|
||||||
|
[b],
|
||||||
|
[c],
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
--- grid-footer-non-repeatable-unbreakable ---
|
||||||
|
#set page(height: 8em, width: auto)
|
||||||
|
#table(
|
||||||
|
[h],
|
||||||
|
table.footer(
|
||||||
|
[a],
|
||||||
|
[b],
|
||||||
|
[c],
|
||||||
|
repeat: false,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
--- grid-footer-stroke-edge-cases ---
|
--- grid-footer-stroke-edge-cases ---
|
||||||
// Test footer stroke priority edge case
|
// Test footer stroke priority edge case
|
||||||
#set page(height: 10em)
|
#set page(height: 10em)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user