Open
Bug 1866693
Opened 2 years ago
Updated 2 years ago
height of <munderover>
Categories
(Core :: MathML, defect)
Tracking
()
NEW
People
(Reporter: 15063662, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Steps to reproduce:
Compare
<math xmlns="http://www.w3.org/1998/Math/MathML">
<msub>
<mrow>
<mo>|</mo>
<mrow>
<munderover>
<mo movablelimits="false">∑</mo>
<mn>1</mn>
<mi>n</mi>
</munderover>
</mrow>
<mo>|</mo>
</mrow>
<mi>∞</mi>
</msub>
</math>
with
<math xmlns="http://www.w3.org/1998/Math/MathML">
<msub>
<mrow>
<mo>|</mo>
<munderover>
<mo movablelimits="false">∑</mo>
<mn>1</mn>
<mi>n</mi>
</munderover>
<mo>|</mo>
</mrow>
<mi>∞</mi>
</msub>
</math>
Actual results:
In the second one, length of <mo>|</mo> is shorter than the first one, and notice the position of subscript ∞ unchanged.
Expected results:
If the length of <mo>|</mo> is shorter than the first one, the position of subscript ∞ should be as same height as the bottom end of <mo>|</mo>.
Comment 1•2 years ago
|
||
Thank you. It seems this is a bug in Firefox (Chromium follows MathML Core and is able to stretch operators properly in both cases).
Here a slightly reduced testcase (Firefox has a bug which prevents it from stretching direct children of the <math>, so an <mrow> wrapper is necessary):
<!DOCTYPE html>
<link
rel="stylesheet"
href="https://fred-wang.github.io/MathFonts/LatinModern/mathfonts.css" />
<math>
<mrow>
<mo>|</mo>
<mrow>
<munder>
<mo>∑</mo>
<mn>1</mn>
</munder>
</mrow>
</mrow>
</math>
Vs
<math>
<mrow>
<mo>|</mo>
<munder>
<mo>∑</mo>
<mn>2</mn>
</munder>
</mrow>
</math>
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in
before you can comment on or make changes to this bug.
Description
•