Page MenuHomePhabricator

Formula in separate paragraphs displayed on the same line in Safari on Mac OS in MathML mode
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
SalixAlba
Oct 10 2024, 11:07 AM
Referenced Files
F57692603: Screenshot 2024-11-10 at 17.03.45.png
Nov 10 2024, 4:05 PM
F57604336: image.png
Oct 10 2024, 11:07 AM
F57604328: image.png
Oct 10 2024, 11:07 AM

Description

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

  • Set math formatting mode to MathML
  • Use Safari v. 15.6.1 running on MacOS 10.15.7
  • Enter the set of formula with blank lines between
<math forcemathmode="native">\cfrac{x}{1 + \cfrac{\cancel{y}}{\cancel{y}}} = \cfrac{x}{2}</math>

<math forcemathmode="native">\begin{array}{lcr}
 z & = & a \\
 f(x,y,z) & = & x + y + z
\end{array}</math>

What happens?:

Rendered as

image.png (185×588 px, 16 KB)

With both maths formula on the same line, and little horizontal space between them.

What should have happened instead?:

Rendered using MathML on Chrome on Windows

image.png (279×529 px, 10 KB)

With formula on separate lines.

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,

Event Timeline

I can not reproduce that with Safari 18.1

Screenshot 2024-11-10 at 17.03.45.png (220×373 px, 33 KB)

Firefox (right), Safari (left)

Krinkle claimed this task.
Krinkle subscribed.

I believe this was taken on https://www.mediawiki.org/wiki/Extension:Math/Native_MathML_rollout_(2024), not https://www.mediawiki.org/wiki/Extension:Math/Native_MathML/Reported_Cases.

It was due to a wikitext mistake. I had not actually placed a line break in the MathML example, whereas I did in the SVG example.

This was fixed in October with this edit.