diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-10-12 14:01:32 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2024-10-15 15:06:36 +0200 |
| commit | 2a956bb88f073db8d7a462dadb51a213e5ceabf3 (patch) | |
| tree | 057f7b80a12fc364f6021b02a1b2cdbff8e0bcbf /tests | |
| parent | 4e46fb1e5ec1bafe25ffa8ef64dc2a4bfb094090 (diff) | |
Refactor and fix bounds metric (#5186)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/suite/layout/measure.typ | 7 |
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) +} |
