summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-01-07 13:11:46 +0100
committerLaurenz <laurmaedje@gmail.com>2022-01-07 13:26:51 +0100
commit0b624390906e911bde325b487b2710b67c8205c8 (patch)
tree43fbfc28082add3dcb1398ae0b6f71202fe51efe /tests
parentaf014cfe5eea4233d8034c79c1a5f898c972396c (diff)
Scoped styles
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])
+)