[mml3.js] collection of failed MML test suite tests
Just a quick pass. Some of these seem like bugs but most seem to be missing features.
Live demo: http://codepen.io/pkra/pen/WbRzOm
Open (by priority)
Sorted by priority / feasability.
-
#1252 (closed) complete failure on MS Edge.
Elementary math
-
longdivision-rtl2-full -- main "line" extends far too the left. (why is that test marked RTL in the MathML suite?) -
ElementaryMathExamples-msline01-full, ElementaryMathExamples-msline02-full -- msline position is off by 1 -- simple bug? -
ElementaryMathExamples-mstack04-full -- stackalign="decimalpoint" cuts off msline -- bug? -
ElementaryMathExamples-mstack20-full -- align="baseline -2" fails (other align tests look basically ok -- simple bug?) -
ElementaryMathExamples-mscarries07-full, ElementaryMathExamples-mscarry10-full, ElementaryMathExamples-mscarry11-full -- spacing issues in subsequent carries (also, msline segmented) -- fixable? -
ElementaryMathExamples-msline03-full. -- leftoverhang / rightoverhang fails -
ElementaryMathExamples-mstack05-full. (etc.) - charspacing fails
-
ElementaryMathExamples-mstack10-full -- charalign fails -
ElementaryMathExamples-mstack24-full -- align="axis" fails.
RTL
-
Elementary math seems to ignore directions but the rendering is generally RTL? (see ltr "copies" of RTL examples on codepen) -
longdivision-rtl1-full -- Long division example is missing a linebreak (third line is on the second line) and suffers from extended "main line" mentioned above. -
Maghreb-1-full Sigma is not flipped. Probably other characters as well? (IIRC, the xslt used to us an SVG transform; CSS transforms could play a similar role in the HTML-CSS output but this probably needs to happen in a proper implementation in the output jax).
Fixed
Elementary Math
-
http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mstack02-full.xhtml - stackalign="center" fails (left, right are ok) -- bug?
-
http://www.w3.org/Math/testsuite/build/main/Topics/ElementaryMathExamples/ElementaryMathExamples-mscarries13-full.xhtml - scriptsizemultiplier fails
RTL
-
HTML-CSS output & browsers interference MathJax passes dir
to the output and some browsers to rearrange the output (cf. complex layout and ligatures). -- Override by CSS:.MathJax span { direction: ltr ! important; display: inline-block !important; }
(needs detailed testing but quick test across browsers seems fine). Example: http://codepen.io/pkra/pen/rOBWPP-
http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mfenced2-full.xhtml -
http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mixednumbers-rtl1-full.xhtml -
http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mmultiscripts3-full.xhtml -
http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/mmultiscripts2-full.xhtml -
http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/RTL/thearithmeticmean1-full.xhtml
-
-
subtraction-rtl1-full