summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/block-width-box.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/bugs/block-width-box.typ b/tests/typ/bugs/block-width-box.typ
new file mode 100644
index 00000000..a039bc66
--- /dev/null
+++ b/tests/typ/bugs/block-width-box.typ
@@ -0,0 +1,6 @@
+// Test box in 100% width block.
+
+---
+#block(width: 100%, fill: red, box("a box"))
+
+#block(width: 100%, fill: red, [#box("a box") #box()])