Skip to content

subscript becomes superscript in multiscript on WebKit #3350

Open
@xworld21

Description

@xworld21

Issue Summary

Multiscripts are rendered incorrectly in Safari/WebKit.

Steps to Reproduce:

<math display="block">
  <mmultiscripts>
    <mi>A</mi>
    <mi>postsub</mi>
    <mprescripts></mprescripts>
    <mi>presub</mi>
    <mi>presup</mi>
  </mmultiscripts>
</math>

On Safari (tested on macOS and iPadOS) you get
Image
You can see that if there are both sub- and superscript, the rendering is fine. If there is only a subscript, it moves to the top (and actually even higher than a normal superscript).

Technical details:

  • MathJax Version: 3.2.2
  • Client OS: macOS 14.7.2
  • Browser: Safari 18.2

I am using the following MathJax configuration: on https://www.mathjax.org/#demo

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions