diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-01-07 13:11:46 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-01-07 13:26:51 +0100 |
| commit | 0b624390906e911bde325b487b2710b67c8205c8 (patch) | |
| tree | 43fbfc28082add3dcb1398ae0b6f71202fe51efe /tests | |
| parent | af014cfe5eea4233d8034c79c1a5f898c972396c (diff) | |
Scoped styles
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/style/construct.png | bin | 0 -> 710 bytes | |||
| -rw-r--r-- | tests/typ/style/construct.typ | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/style/construct.png b/tests/ref/style/construct.png Binary files differnew file mode 100644 index 00000000..e0dcf409 --- /dev/null +++ b/tests/ref/style/construct.png 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]) +) |
