summaryrefslogtreecommitdiff
path: root/tests/suite/layout/pad.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/layout/pad.typ')
-rw-r--r--tests/suite/layout/pad.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/suite/layout/pad.typ b/tests/suite/layout/pad.typ
index 3a7439d0..4ff9f8ec 100644
--- a/tests/suite/layout/pad.typ
+++ b/tests/suite/layout/pad.typ
@@ -28,3 +28,7 @@ Hi #box(pad(left: 10pt)[A]) there
--- pad-adding-to-100-percent ---
// Test that padding adding up to 100% does not panic.
#pad(50%)[]
+
+--- issue-5044-pad-100-percent ---
+#set page(width: 30pt, height: 30pt)
+#pad(100%, block(width: 1cm, height: 1cm, fill: red))