summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/pattern-relative.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/visualize/pattern-relative.typ')
-rw-r--r--tests/typ/visualize/pattern-relative.typ23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/typ/visualize/pattern-relative.typ b/tests/typ/visualize/pattern-relative.typ
deleted file mode 100644
index 78517e1e..00000000
--- a/tests/typ/visualize/pattern-relative.typ
+++ /dev/null
@@ -1,23 +0,0 @@
-// Test pattern with different `relative`.
-
----
-// Test with relative set to `"self"`
-#let pat(..args) = pattern(size: (30pt, 30pt), ..args)[
- #place(top + left, line(start: (0%, 0%), end: (100%, 100%), stroke: 1pt))
- #place(top + left, line(start: (0%, 100%), end: (100%, 0%), stroke: 1pt))
-]
-
-#set page(fill: pat(), width: 100pt, height: 100pt)
-
-#rect(fill: pat(relative: "self"), width: 100%, height: 100%, stroke: 1pt)
-
----
-// Test with relative set to `"parent"`
-#let pat(..args) = pattern(size: (30pt, 30pt), ..args)[
- #place(top + left, line(start: (0%, 0%), end: (100%, 100%), stroke: 1pt))
- #place(top + left, line(start: (0%, 100%), end: (100%, 0%), stroke: 1pt))
-]
-
-#set page(fill: pat(), width: 100pt, height: 100pt)
-
-#rect(fill: pat(relative: "parent"), width: 100%, height: 100%, stroke: 1pt)