summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/elements/image.pngbin219541 -> 209747 bytes
-rw-r--r--tests/typ/elements/image.typ14
2 files changed, 5 insertions, 9 deletions
diff --git a/tests/ref/elements/image.png b/tests/ref/elements/image.png
index 6848726f..943d43b1 100644
--- a/tests/ref/elements/image.png
+++ b/tests/ref/elements/image.png
Binary files differ
diff --git a/tests/typ/elements/image.typ b/tests/typ/elements/image.typ
index 6359c4bb..c0e6a3ef 100644
--- a/tests/typ/elements/image.typ
+++ b/tests/typ/elements/image.typ
@@ -13,15 +13,6 @@
---
// Test configuring the size and fitting behaviour of images.
-// Fit to width of page.
-#image("../../res/rhino.png")
-
-// Fit to height of page.
-[
- #page(height: 40pt)
- #image("../../res/rhino.png")
-]
-
// Set width explicitly.
#image("../../res/rhino.png", width: 50pt)
@@ -36,6 +27,11 @@
#image("../../res/tiger.jpg", width: 60pt)
---
+// Does not fit to height of page.
+#page(height: 60pt)
+#image("../../res/rhino.png")
+
+---
// Error: 8-29 file not found
#image("path/does/not/exist")