Page MenuHomePhabricator

Unreadable rendering of \xleftarrow with text in MathML mode
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
SalixAlba
May 28 2025, 4:45 PM
Project Tags
Referenced Files
F72134786: Screenshot 2026-02-16 at 17.50.14.png
Feb 16 2026, 5:53 PM
F72134782: Screenshot 2026-02-16 at 17.49.52.png
Feb 16 2026, 5:53 PM
F72134780: Screenshot 2026-02-16 at 17.49.35.png
Feb 16 2026, 5:53 PM
F72134776: Screenshot 2026-02-16 at 17.48.51.png
Feb 16 2026, 5:53 PM
F60773389: image.png
May 28 2025, 4:45 PM
F60773380: image.png
May 28 2025, 4:45 PM

Description

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

  • Set MathrenderingMode to MathML
  • <math>A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C</math>

What happens?:

Rendered as

image.png (217×101 px, 3 KB)

What should have happened instead?:

With client-side mathjax rendered as

image.png (307×75 px, 5 KB)

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

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

Chrome, windows

Example from https://en.wikipedia.beta.wmflabs.org/wiki/Help:MathTestNative#Subscripts,_superscripts,_integrals

Event Timeline

SalixAlba renamed this task from Unreadable rendering of xleftarrow in MathML mode to Unreadable rendering of \xleftarrow with text in MathML mode.May 28 2025, 4:45 PM

Current rendering on https://www.mediawiki.org/wiki/Extension:Math/Native_MathML/Reported_Cases

MathJaxScreenshot 2026-02-16 at 17.48.51.png (402×188 px, 12 KB)OK
ChromeScreenshot 2026-02-16 at 17.49.35.png (366×364 px, 25 KB)(Browser bug) Unreadable due to overlap and misalignment
SafariScreenshot 2026-02-16 at 17.49.52.png (456×304 px, 24 KB)MathJax MathML renders almost OK, suggests we might be able to improve the MediaWiki MathML
FirefoxScreenshot 2026-02-16 at 17.50.14.png (424×302 px, 22 KB)OK