summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPg Biel <9021226+PgBiel@users.noreply.github.com>2023-04-26 05:03:34 -0300
committerGitHub <noreply@github.com>2023-04-26 10:03:34 +0200
commitae4accc071aa811817dd27e906f7a20d00f23949 (patch)
tree28049a92331ca0fc6029bf7eeb125168f3a2eaf6 /tests
parentf740c0b03fbf2916c31044b5cec262835325d0c7 (diff)
Fix alignment of list markers & enum numbers (#988)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/enum.pngbin11247 -> 16078 bytes
-rw-r--r--tests/ref/layout/list.pngbin19085 -> 20981 bytes
-rw-r--r--tests/typ/layout/enum.typ8
-rw-r--r--tests/typ/layout/list.typ6
4 files changed, 14 insertions, 0 deletions
diff --git a/tests/ref/layout/enum.png b/tests/ref/layout/enum.png
index a0309391..fb2c2a63 100644
--- a/tests/ref/layout/enum.png
+++ b/tests/ref/layout/enum.png
Binary files differ
diff --git a/tests/ref/layout/list.png b/tests/ref/layout/list.png
index 864a6e1d..8a3360b9 100644
--- a/tests/ref/layout/list.png
+++ b/tests/ref/layout/list.png
Binary files differ
diff --git a/tests/typ/layout/enum.typ b/tests/typ/layout/enum.typ
index 341afed4..2606a64d 100644
--- a/tests/typ/layout/enum.typ
+++ b/tests/typ/layout/enum.typ
@@ -34,3 +34,11 @@ See 0.3. \
Empty \
+Nope \
a + 0.
+
+---
+// Alignment shouldn't affect number
+#set align(horizon)
+
++ ABCDEF\ GHIJKL\ MNOPQR
+ + INNER\ INNER\ INNER
++ BACK\ HERE
diff --git a/tests/typ/layout/list.typ b/tests/typ/layout/list.typ
index 71ccfe35..7b938944 100644
--- a/tests/typ/layout/list.typ
+++ b/tests/typ/layout/list.typ
@@ -49,3 +49,9 @@ _Shopping list_
-
Not in list
-Nope
+
+---
+// Alignment shouldn't affect marker
+#set align(horizon)
+
+- ABCDEF\ GHIJKL\ MNOPQR