summaryrefslogtreecommitdiff
path: root/tests/suite/layout/flow/flow.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-09-16 16:41:18 +0200
committerGitHub <noreply@github.com>2024-09-16 14:41:18 +0000
commit16e67f8bea7e6891e954420e2e005976fb48a528 (patch)
treeb1de8e17f184d10894447a602da1722a71dd23a9 /tests/suite/layout/flow/flow.typ
parentdb71a178bef7f1525d732a190ac75a1a6d56f24b (diff)
Shrink tests (#4967)
Diffstat (limited to 'tests/suite/layout/flow/flow.typ')
-rw-r--r--tests/suite/layout/flow/flow.typ15
1 files changed, 6 insertions, 9 deletions
diff --git a/tests/suite/layout/flow/flow.typ b/tests/suite/layout/flow/flow.typ
index 7c8ade14..88075c5b 100644
--- a/tests/suite/layout/flow/flow.typ
+++ b/tests/suite/layout/flow/flow.typ
@@ -11,11 +11,8 @@
// the rest moved down. The reason was that the second block resulted in
// overlarge frames because the region wasn't finished properly.
#set page(height: 70pt)
-#block[This file tests a bug where an almost empty page occurs.]
-#block[
- The text in this second block was torn apart and split up for
- some reason beyond my knowledge.
-]
+#block(lines(3))
+#block(lines(5))
--- issue-flow-trailing-leading ---
// In this bug, the first part of the paragraph moved down to the second page
@@ -48,13 +45,13 @@
// This bug caused an index-out-of-bounds panic when layouting paragraphs needed
// multiple reorderings.
#set page(height: 200pt)
-#lorem(30)
+#lines(10)
#figure(placement: auto, block(height: 100%))
-#lorem(10)
+#lines(3)
-#lorem(10)
+#lines(3)
--- issue-3641-float-loop ---
// Flow layout should terminate!
@@ -64,7 +61,7 @@
#set page(height: 40pt)
= Heading
-#lorem(6)
+#lines(2)
--- issue-3355-metadata-weak-spacing ---
#set page(height: 50pt)