# fred-wang/AcidTestsMathML

MathML versions of the famous Acid tests.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.

The MathML recommendation almost never describes precisely the rendering of elements, so exact pixel matching does not make sense in general as opposed to SVG or CSS. For the MathML Acid2 test, we use MathML features like mathbackground='yellow' or <mpadded> whose visual renderings are clearly defined in order to draw the smiley face. Most other MathML features can be verified via Javascript by testing the relative position of boxes (e.g. the numerator is above a denominator in an <mfrac> element). These features are verified in the MathML Acid3 test. Hence the combination of these MathML Acid2 and Acid3 tests should give a pretty good coverage of MathML features, while still being automated and hopefully quite objective.