summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-12 14:01:32 +0200
committerGitHub <noreply@github.com>2024-10-12 12:01:32 +0000
commit61d461f0800c22afd2c279786d326733f679a36d (patch)
tree4a842d3b5cb29f9f7b73f7824455396d2584738d /tests
parentbb0e0894748e572b29957acefa661e5ed68d5a15 (diff)
Refactor and fix bounds metric (#5186)
Diffstat (limited to 'tests')
-rw-r--r--tests/suite/layout/measure.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/suite/layout/measure.typ b/tests/suite/layout/measure.typ
index 5429c611..66e6461f 100644
--- a/tests/suite/layout/measure.typ
+++ b/tests/suite/layout/measure.typ
@@ -92,3 +92,10 @@
table(columns: 5, u(17), it, u(1), it, u(5))
[#size.width] // 17pt
}
+
+--- issue-5180-measure-inline-math-bounds ---
+#context {
+ let height = measure(text(top-edge: "bounds", $x$)).height
+ assert(height > 4pt)
+ assert(height < 5pt)
+}