summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/hide.pngbin0 -> 936 bytes
-rw-r--r--tests/typ/layout/hide.typ5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/ref/layout/hide.png b/tests/ref/layout/hide.png
new file mode 100644
index 00000000..8a60cf90
--- /dev/null
+++ b/tests/ref/layout/hide.png
Binary files differ
diff --git a/tests/typ/layout/hide.typ b/tests/typ/layout/hide.typ
new file mode 100644
index 00000000..a979b24f
--- /dev/null
+++ b/tests/typ/layout/hide.typ
@@ -0,0 +1,5 @@
+// Test the `hide` function.
+
+---
+AB #h(1fr) CD \
+#hide[A]B #h(1fr) C#hide[D]