summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/2595-float-overlap.typ13
-rw-r--r--tests/typ/bugs/2715-float-order.typ2
2 files changed, 14 insertions, 1 deletions
diff --git a/tests/typ/bugs/2595-float-overlap.typ b/tests/typ/bugs/2595-float-overlap.typ
new file mode 100644
index 00000000..7c7f68c9
--- /dev/null
+++ b/tests/typ/bugs/2595-float-overlap.typ
@@ -0,0 +1,13 @@
+#set page(height: 80pt)
+
+Start.
+
+#place(auto, float: true, [
+ #block(height: 100%, width: 100%, fill: aqua)
+])
+
+#place(auto, float: true, [
+ #block(height: 100%, width: 100%, fill: red)
+])
+
+#lorem(20)
diff --git a/tests/typ/bugs/2715-float-order.typ b/tests/typ/bugs/2715-float-order.typ
index f6ac6219..af0684a1 100644
--- a/tests/typ/bugs/2715-float-order.typ
+++ b/tests/typ/bugs/2715-float-order.typ
@@ -1,4 +1,4 @@
-#set page(height: 170pt)
+#set page(height: 180pt)
#set figure(placement: auto)
#figure(