summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/html/enum-start.html12
-rw-r--r--tests/suite/model/enum.typ7
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/ref/html/enum-start.html b/tests/ref/html/enum-start.html
new file mode 100644
index 00000000..8a4ff37f
--- /dev/null
+++ b/tests/ref/html/enum-start.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ </head>
+ <body>
+ <ol start="3">
+ <li>Skipping</li><li>Ahead</li>
+ </ol>
+ </body>
+</html>
diff --git a/tests/suite/model/enum.typ b/tests/suite/model/enum.typ
index 258c6f6b..e957ae9e 100644
--- a/tests/suite/model/enum.typ
+++ b/tests/suite/model/enum.typ
@@ -101,6 +101,13 @@ a + 0.
[Red], [Green], [Blue], [Red],
)
+--- enum-start html ---
+#enum(
+ start: 3,
+ [Skipping],
+ [Ahead],
+)
+
--- enum-numbering-closure-nested ---
// Test numbering with closure and nested lists.
#set enum(numbering: n => super[#n])