omitted columnalign attribute of <mtable> interpreted differently by Firefox
(I was using TeX input and native MathML output)
In MathML generated by MathJax, columnalign
attribute of <mtable>
will be omitted if it is same as that of its parent, while in Firefox, without columnalign
specified will be centered (as is the default value).
Consequently, in the cases LL and RR, the MathML generated by MathJax will be interpreted differently by Firefox — MathJax will omit the columnalign
attribute of the inner <mtable>
which will be interpreted as default value center
in Firefox, not as expected L or R.
Test code:
\begin{array}{l}1\\{\begin{array}{l}111\\2\end{array}}\end{array}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mtable columnalign="left" columnspacing="1em" rowspacing="4pt">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow data-mjx-texclass="ORD">
<mtable columnspacing="1em" rowspacing="4pt">
<mtr>
<mtd>
<mn>111</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
</mtable>
</mrow>
</mtd>
</mtr>
</mtable>
</math>