summaryrefslogtreecommitdiff
path: root/tests/typ/layout/hide.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/hide.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/hide.typ')
-rw-r--r--tests/typ/layout/hide.typ76
1 files changed, 0 insertions, 76 deletions
diff --git a/tests/typ/layout/hide.typ b/tests/typ/layout/hide.typ
deleted file mode 100644
index ede65c70..00000000
--- a/tests/typ/layout/hide.typ
+++ /dev/null
@@ -1,76 +0,0 @@
-// Test the `hide` function.
-
----
-AB #h(1fr) CD \
-#hide[A]B #h(1fr) C#hide[D]
----
-Hidden:
-#hide[#line(length: 100%)]
-#line(length: 100%)
----
-Hidden:
-#hide(table(rows: 2, columns: 2)[a][b][c][d])
-#table(rows: 2, columns: 2)[a][b][c][d]
----
-Hidden:
-#hide[
- #polygon((20%, 0pt),
- (60%, 0pt),
- (80%, 2cm),
- (0%, 2cm),)
-]
-#polygon((20%, 0pt),
- (60%, 0pt),
- (80%, 2cm),
- (0%, 2cm),)
----
-#set rect(
- inset: 8pt,
- fill: rgb("e4e5ea"),
- width: 100%,
-)
-
-Hidden:
-#hide[
-#grid(
- columns: (1fr, 1fr, 2fr),
- rows: (auto, 40pt),
- gutter: 3pt,
- rect[A],
- rect[B],
- rect[C],
- rect(height: 100%)[D],
-)
-]
-#grid(
- columns: (1fr, 1fr, 2fr),
- rows: (auto, 40pt),
- gutter: 3pt,
- rect[A],
- rect[B],
- rect[C],
- rect(height: 100%)[D],
-)
----
-
-Hidden:
-#hide[
-- 1
-- 2
- 1. A
- 2. B
-- 3
-]
-
-
-- 1
-- 2
- 1. A
- 2. B
-- 3
-
----
-Hidden:
-#hide(image("/assets/images/tiger.jpg", width: 5cm, height: 1cm,))
-
-#image("/assets/images/tiger.jpg", width: 5cm, height: 1cm,)