You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally in HTML when an element has attributes other than the global attributes it has a more specific interface allowing those attributes to be reflected, for example <link> has HTMLLinkElement, or h1-h6 have HTMLHeadingElement.
Currently MathML core only specifies a single MathMLElement which can only reflect mathml global attributes, despite there existing multiple elements with additional attributes:
<mo>
<mspace>
<mfrac>
<mpadded>
<munderover>
<mtd>
I would propose that those elements should get their own interfaces with the appropriate attribute reflection.
As an example for <mo> this would allow setting el.form = "infix" rather than using .setAttribute.