summaryrefslogtreecommitdiff
path: root/tests/suite/layout/grid/html.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/layout/grid/html.typ')
-rw-r--r--tests/suite/layout/grid/html.typ32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/suite/layout/grid/html.typ b/tests/suite/layout/grid/html.typ
new file mode 100644
index 00000000..2a7dfc2c
--- /dev/null
+++ b/tests/suite/layout/grid/html.typ
@@ -0,0 +1,32 @@
+--- basic-table html ---
+#table(
+ columns: 3,
+ rows: 3,
+
+ table.header(
+ [The],
+ [first],
+ [and],
+ [the],
+ [second],
+ [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],
+
+ table.footer(
+ [The],
+ [last],
+ [row],
+ ),
+)