summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTobias Schmitz <tobiasschmitz2001@gmail.com>2025-05-06 16:03:48 +0200
committerGitHub <noreply@github.com>2025-05-06 14:03:48 +0000
commit9b09146a6b5e936966ed7ee73bce9dd2df3810ae (patch)
tree5a55355e4356d31e3449d1ceb8b29cb52c753a28 /tests
parentb322da930fe35ee3d19896de6ab653e2f321e301 (diff)
Use list spacing for attach spacing in tight lists (#6242)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/issue-6242-tight-list-attach-spacing.pngbin0 -> 410 bytes
-rw-r--r--tests/suite/model/list.typ8
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/issue-6242-tight-list-attach-spacing.png b/tests/ref/issue-6242-tight-list-attach-spacing.png
new file mode 100644
index 00000000..48920008
--- /dev/null
+++ b/tests/ref/issue-6242-tight-list-attach-spacing.png
Binary files differ
diff --git a/tests/suite/model/list.typ b/tests/suite/model/list.typ
index 9bed930b..796a7b06 100644
--- a/tests/suite/model/list.typ
+++ b/tests/suite/model/list.typ
@@ -304,3 +304,11 @@ World
- C
- = D
E
+
+--- issue-6242-tight-list-attach-spacing ---
+// Nested tight lists should be uniformly spaced when list spacing is set.
+#set list(spacing: 1.2em)
+- A
+ - B
+ - C
+- C