mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
may_progress tests
This commit is contained in:
parent
3cbbcaa734
commit
7ab1d25c69
Binary file not shown.
After Width: | Height: | Size: 398 B |
BIN
tests/ref/grid-header-too-large-repeating-orphan-with-footer.png
Normal file
BIN
tests/ref/grid-header-too-large-repeating-orphan-with-footer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 576 B |
BIN
tests/ref/grid-header-too-large-repeating-orphan.png
Normal file
BIN
tests/ref/grid-header-too-large-repeating-orphan.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 321 B |
@ -158,6 +158,41 @@
|
||||
[b]
|
||||
)
|
||||
|
||||
--- grid-header-too-large-repeating-orphan ---
|
||||
#set page(height: 8em)
|
||||
#grid(
|
||||
grid.header(
|
||||
[a\ ] * 5,
|
||||
repeat: true,
|
||||
),
|
||||
[b]
|
||||
)
|
||||
|
||||
--- grid-header-too-large-repeating-orphan-with-footer ---
|
||||
#set page(height: 8em)
|
||||
#grid(
|
||||
grid.header(
|
||||
[a\ ] * 5,
|
||||
repeat: true,
|
||||
),
|
||||
[b],
|
||||
grid.footer(
|
||||
[c],
|
||||
repeat: true,
|
||||
)
|
||||
)
|
||||
|
||||
--- grid-header-too-large-repeating-orphan-not-at-first-row ---
|
||||
#set page(height: 8em)
|
||||
#grid(
|
||||
[b],
|
||||
grid.header(
|
||||
[a\ ] * 5,
|
||||
repeat: true,
|
||||
),
|
||||
[c],
|
||||
)
|
||||
|
||||
--- table-header-in-grid ---
|
||||
// Error: 2:3-2:20 cannot use `table.header` as a grid header
|
||||
// Hint: 2:3-2:20 use `grid.header` instead
|
||||
|
Loading…
x
Reference in New Issue
Block a user