summaryrefslogtreecommitdiff
path: root/tests/typ/layout/grid-footers-3.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/grid-footers-3.typ')
-rw-r--r--tests/typ/layout/grid-footers-3.typ44
1 files changed, 0 insertions, 44 deletions
diff --git a/tests/typ/layout/grid-footers-3.typ b/tests/typ/layout/grid-footers-3.typ
deleted file mode 100644
index 070500f1..00000000
--- a/tests/typ/layout/grid-footers-3.typ
+++ /dev/null
@@ -1,44 +0,0 @@
-// Test lack of space for header + text.
-#set page(height: 9em + 2.5em + 1.5em)
-
-#table(
- rows: (auto, 2.5em, auto, auto, 10em, 2.5em, auto),
- gutter: 3pt,
- table.header[*Hello*][*World*],
- table.cell(rowspan: 3, lorem(30)),
- table.footer[*Ok*][*Bye*],
-)
-
----
-// Orphan header prevention test
-#set page(height: 13em)
-#v(8em)
-#grid(
- columns: 3,
- gutter: 5pt,
- grid.header(
- [*Mui*], [*A*], grid.cell(rowspan: 2, fill: orange)[*B*],
- [*Header*], [*Header* #v(0.1em)],
- ),
- ..([Test], [Test], [Test]) * 7,
- grid.footer(
- [*Mui*], [*A*], grid.cell(rowspan: 2, fill: orange)[*B*],
- [*Footer*], [*Footer* #v(0.1em)],
- ),
-)
-
----
-// Empty footer should just be a repeated blank row
-#set page(height: 8em)
-#table(
- columns: 4,
- align: center + horizon,
- table.header(),
- ..range(0, 2).map(i => (
- [John \##i],
- table.cell(stroke: green)[123],
- table.cell(stroke: blue)[456],
- [789]
- )).flatten(),
- table.footer(),
-)