Page MenuHomePhabricator

Bad spacing for fractions with Safari in MathML mode
Open, LowPublicBUG REPORT

Assigned To
None
Authored By
SalixAlba
Oct 10 2024, 9:57 AM
Referenced Files
F57692638: Screenshot 2024-11-10 at 17.46.48.png
Nov 10 2024, 4:48 PM
F57607899: image.png
Oct 12 2024, 8:38 AM
F57604249: image.png
Oct 10 2024, 9:57 AM
F57604241: image.png
Oct 10 2024, 9:57 AM

Description

Steps to replicate the issue (include links if applicable):

  • Set maths formatting mode to MathML
  • Use Safari v. 15.6.1 running on MacOS 10.15.7
  • Enter the formula \frac{x}{x}\quad\frac{x}{y}\quad\frac{x}{l}\quad\frac{x}{2}
  • and `\frac{x}{x}\quad\frac{y}x\quad\frac{l}x\quad\frac{2}x

What happens?:

Rendered as

image.png (146×960 px, 80 KB)

What should have happened instead?:

Using Chrome on Windows

image.png (221×644 px, 19 KB)

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Safari v. 15.6.1 running on MacOS 10.15.7

Also problems with recent iPhone Safari

Event Timeline

In macOS 12.7.3 and Safari 17.6 the problem is not so bad, but it does not correctly get the baselines of the numerator and denominators to line up correctly.

image.png (254×724 px, 87 KB)

Physikerwelt subscribed.

mh.

Screenshot 2024-11-10 at 17.46.48.png (302×816 px, 42 KB)

Firefox left, Safaria 18 right. to me both look good.