summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/style/construct.pngbin0 -> 710 bytes
-rw-r--r--tests/typ/style/construct.typ10
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/style/construct.png b/tests/ref/style/construct.png
new file mode 100644
index 00000000..e0dcf409
--- /dev/null
+++ b/tests/ref/style/construct.png
Binary files differ
diff --git a/tests/typ/style/construct.typ b/tests/typ/style/construct.typ
new file mode 100644
index 00000000..02f1a6aa
--- /dev/null
+++ b/tests/typ/style/construct.typ
@@ -0,0 +1,10 @@
+// Test class construction.
+
+---
+// Ensure that constructor styles aren't passed down the tree.
+#set par(spacing: 2pt)
+#list(
+ body-indent: 20pt,
+ [First],
+ list([A], [B])
+)