summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/show-selector-logical.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/show-selector-logical.typ')
-rw-r--r--tests/typ/compiler/show-selector-logical.typ21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/typ/compiler/show-selector-logical.typ b/tests/typ/compiler/show-selector-logical.typ
deleted file mode 100644
index a11e20b6..00000000
--- a/tests/typ/compiler/show-selector-logical.typ
+++ /dev/null
@@ -1,21 +0,0 @@
-// Test and/or selectors in show rules.
-
----
-// Looking forward to `heading.where(level: 1 | 2)` :)
-#show heading.where(level: 1).or(heading.where(level: 2)): set text(red)
-= L1
-== L2
-=== L3
-==== L4
-
----
-// Test element selector combined with label selector.
-#show selector(strong).or(<special>): highlight
-I am *strong*, I am _emphasized_, and I am #[special<special>].
-
----
-// Ensure that text selector cannot be nested in and/or. That's too complicated,
-// at least for now.
-
-// Error: 7-41 this selector cannot be used with show
-#show heading.where(level: 1).or("more"): set text(red)