From 61d461f0800c22afd2c279786d326733f679a36d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 12 Oct 2024 14:01:32 +0200 Subject: Refactor and fix bounds metric (#5186) --- tests/suite/layout/measure.typ | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') 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) +} -- cgit v1.2.3