diff --git a/tests/ref/html/basic-table.html b/tests/ref/html/basic-table.html new file mode 100644 index 000000000..b1a18b648 --- /dev/null +++ b/tests/ref/html/basic-table.html @@ -0,0 +1,10 @@ + + + + + + + +
Thefirstrow
FooBazBar
12
34
+ + diff --git a/tests/suite/layout/grid/html.typ b/tests/suite/layout/grid/html.typ new file mode 100644 index 000000000..04835533c --- /dev/null +++ b/tests/suite/layout/grid/html.typ @@ -0,0 +1,23 @@ +--- basic-table html --- +#table( + columns: 3, + rows: 3, + + table.header( + [The], + [first], + [row], + table.hline(stroke: red) + ), + + table.cell(x: 1, rowspan: 2)[Baz], + [Foo], + [Bar], + + [1], + // Baz spans into the next cell + [2], + + table.cell(colspan: 2)[3], + [4], +)