summaryrefslogtreecommitdiff
path: root/tests/suite/styling
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-08-27 14:47:01 +0200
committerLaurenz <laurmaedje@gmail.com>2024-08-27 14:51:55 +0200
commit1cd222e77bf2d1602e8ba146a1cc9ca9c22223b0 (patch)
tree220fa93b712768fa1c191ae96827d6d896d5c954 /tests/suite/styling
parent7eb3b3f0f7d61116ebe7f7da1952e742d94849fb (diff)
Update all tests to see how it behavesbetter-lists
Diffstat (limited to 'tests/suite/styling')
-rw-r--r--tests/suite/styling/set.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/suite/styling/set.typ b/tests/suite/styling/set.typ
index ca080977..057ad316 100644
--- a/tests/suite/styling/set.typ
+++ b/tests/suite/styling/set.typ
@@ -10,7 +10,7 @@ Hello *#x*
#let fruit = [
- Apple
- Orange
- #list(body-indent: 20pt)[Pear]
+ #list(indent: 30pt)[Pear]
]
- Fruit
@@ -41,7 +41,7 @@ Hello *#x*
#let choice = ("monkey.svg", "rhino.png", "tiger.jpg")
#set enum(numbering: n => {
let path = "/assets/images/" + choice.at(n - 1)
- move(dy: -0.15em, image(path, width: 1em, height: 1em))
+ box(baseline: 0.25em, image(path, width: 1em, height: 1em))
})
+ Monkey
@@ -69,7 +69,7 @@ Hello *#x*
// Ensure that constructor styles aren't passed down the tree.
// The inner list should have no extra indent.
#set par(leading: 2pt)
-#list(body-indent: 20pt, [First], list[A][B])
+#list(indent: 20pt, [First], list[A][B])
--- set-vs-construct-2 ---
// Ensure that constructor styles win, but not over outer styles.