summaryrefslogtreecommitdiff
path: root/tests/typ/style/construct.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-29 13:37:25 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-29 14:18:13 +0100
commit0efe669278a5e1c3f2985eba2f3360e91159c54a (patch)
tree502712857c48f0decb5e698257c0a96d358a436e /tests/typ/style/construct.typ
parent836692e73cff0356e409a9ba5b4887b86809d4ca (diff)
Reorganize library and tests
Diffstat (limited to 'tests/typ/style/construct.typ')
-rw-r--r--tests/typ/style/construct.typ31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/typ/style/construct.typ b/tests/typ/style/construct.typ
deleted file mode 100644
index f535184c..00000000
--- a/tests/typ/style/construct.typ
+++ /dev/null
@@ -1,31 +0,0 @@
-// Test node functions.
-
----
-// Ensure that constructor styles aren't passed down the tree.
-// The inner list should have no extra indent.
-#set par(leading: 2pt)
-#list(body-indent: 20pt, [First], list[A][B])
-
----
-// Ensure that constructor styles win, but not over outer styles.
-// The outer paragraph should be right-aligned,
-// but the B should be center-aligned.
-#set par(align: center)
-#par(align: right)[
- A #rect(width: 2cm, fill: conifer, inset: 4pt)[B]
-]
-
----
-// The inner rectangle should also be yellow here.
-// (and therefore invisible)
-[#set rect(fill: yellow);#text(1em, rect(inset: 5pt, rect()))]
-
----
-// The inner rectangle should not be yellow here.
-A #rect(fill: yellow, inset: 5pt, rect()) B
-
----
-// The constructor property should still work
-// when there are recursive show rules.
-#show list: set text(blue)
-#list(label: "(a)", [A], list[B])