The math-shift CSS property is used for positioning superscript during the layout of MathML scripted elements.
object.style.mathShift = "value";
<'math-shift'> =
normal |
compact
normal
The math layout on descendants will use the superscriptShiftUp parameter to place superscript.
compact
The math layout on descendants will use the superscriptShiftUpCramped parameter to place superscript.