Open Bug 1816217 Opened 2 years ago Updated 1 year ago

italic <mi> after normal <mi> becomes wider

Categories

(Core :: MathML, defect)

Firefox 120
defect

Tracking

()

UNCONFIRMED

People

(Reporter: 15063662, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

Navigate to https://www-archive.mozilla.org/projects/mathml/demo/tester
Enter the following MathML:
<math xmlns="&mathml;" display="block">
<mtable>
<mtr>
<mtd>
<mi>i</mi>
<mi>s</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mi mathvariant="normal">i</mi>
<mi>s</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>i</mi>
<mi mathvariant="normal">s</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>i</mi>
<mi>sin</mi>
</mtd>
</mtr>
</mtable>
</math>

Actual results:

There appears to be extra space between two <mi> in the 2nd, 3rd, 4th row.
I find that <mi>s</mi> in the second row is wider (8.85px) than same element in the first row (6.18px)

Expected results:

For example, in Chrome 109 with same steps, they don't become wider.
Also, in MathJax with mmlSpacing: https://codepen.io/hbghlyj/pen/PoBMWpg , they don't become wider.

Attached image Firefox 109.png
Attached image Chrome 109.png

The Bugbug bot thinks this bug should belong to the 'Core::MathML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → MathML
Version: Firefox 109 → Firefox 120
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: