diff options
Diffstat (limited to 'tests/suite/layout')
| -rw-r--r-- | tests/suite/layout/grid/footers.typ | 6 | ||||
| -rw-r--r-- | tests/suite/layout/grid/headers.typ | 4 | ||||
| -rw-r--r-- | tests/suite/layout/grid/rowspan.typ | 2 | ||||
| -rw-r--r-- | tests/suite/layout/spacing.typ | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/tests/suite/layout/grid/footers.typ b/tests/suite/layout/grid/footers.typ index 7cd09003..edbb36fb 100644 --- a/tests/suite/layout/grid/footers.typ +++ b/tests/suite/layout/grid/footers.typ @@ -282,17 +282,17 @@ rows: (auto, 2em, auto, auto), table.header( [eeec], - table.cell(rowspan: 2, count.step() + count.display()), + table.cell(rowspan: 2, count.step() + context count.display()), ), [d], block(width: 5em, fill: yellow, lorem(7)), [d], table.footer( [eeec], - table.cell(rowspan: 2, count.step() + count.display()), + table.cell(rowspan: 2, count.step() + context count.display()), ) ) -#count.display() +#context count.display() --- grid-nested-with-footers --- // Nested table with footer should repeat both footers diff --git a/tests/suite/layout/grid/headers.typ b/tests/suite/layout/grid/headers.typ index 78a2540f..c9c95e13 100644 --- a/tests/suite/layout/grid/headers.typ +++ b/tests/suite/layout/grid/headers.typ @@ -265,13 +265,13 @@ rows: (auto, 2em, auto, auto), table.header( [eeec], - table.cell(rowspan: 2, count.step() + count.display()), + table.cell(rowspan: 2, count.step() + context count.display()), ), [d], block(width: 5em, fill: yellow, lorem(15)), [d] ) -#count.display() +#context count.display() --- grid-header-expand --- // Ensure header expands to fit cell placed in it after its declaration diff --git a/tests/suite/layout/grid/rowspan.typ b/tests/suite/layout/grid/rowspan.typ index f7a377b6..e5c8bbc8 100644 --- a/tests/suite/layout/grid/rowspan.typ +++ b/tests/suite/layout/grid/rowspan.typ @@ -163,7 +163,7 @@ #let count = counter("count") #show grid.cell: it => { count.step() - count.display() + context count.display() } #grid( diff --git a/tests/suite/layout/spacing.typ b/tests/suite/layout/spacing.typ index c32e6c8f..f5938995 100644 --- a/tests/suite/layout/spacing.typ +++ b/tests/suite/layout/spacing.typ @@ -34,7 +34,7 @@ Totally #h() ignored h(1em) counter(heading).update(4) [Hello ] - counter(heading).display() + context counter(heading).display() } --- trim-weak-space-line-beginning --- |
