summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite')
-rw-r--r--tests/suite/math/equation.typ10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/suite/math/equation.typ b/tests/suite/math/equation.typ
index e7ae677e..2345de54 100644
--- a/tests/suite/math/equation.typ
+++ b/tests/suite/math/equation.typ
@@ -256,6 +256,16 @@ $ q &= sum_k ln A \
],
)
+--- issue-4187-alignment-point-affects-row-height ---
+// In this bug, a row of "-" only should have a very small height; but
+// after adding an alignment point "&", the row gains a larger height.
+// We need to test alignment point "&" does not affect a row's height.
+#box($ - - $, fill: silver)
+#box($ - - $, fill: silver) \
+#box($ a \ - - $, fill: silver)
+#box($ &- - \ &a $, fill: silver)
+#box($ &a \ &- - $, fill: silver)
+
--- issue-numbering-hint ---
// In this bug, the hint and error messages for an equation
// being reference mentioned that it was a "heading" and was