Source code

Revision control

Copy as Markdown

Other Tools

# Internal MathML tests
The web-platform-tests Project provides [MathML tests](https://github.com/web-platform-tests/wpt/tree/master/mathml/)
for the [MathML Core](https://w3c.github.io/mathml-core/) specification. This
directory contains tests for [MathML3](https://www.w3.org/TR/MathML3/) features
implemented in Gecko or for Gecko-specific behaviors that are not described in
any specification:
- `disabled/`: Tests for MathML handling when support is disabled. This is
mostly used for Tor browser's "high security" mode, see
- `fonts`: font-related tests, such as OpenType features not handled yet in
MathML Core or other Gecko-specific behavior.
- `mathml-console-messages.html`: Tests for Gecko-specific console warning and
error messages triggered by MathML markup.
- `mathspaces_names`: Tests for
which are removed from MathML Core. See
- `mathvariant`: Tests for the
which is reduced to the case `<mi mathvariant="normal">` in MathML
- `mpadded`: Tests for some
features, which are not in the initial version of MathML Core.
- `menclose`: Tests for the
element, which is not in the initial version of MathML Core.
- `mo-accent`: Tests for the
and the corresponding accent property from the dictionary,
which are removed from MathML Core.
- `negative-lengths`: Tests for negative lengths, for which support or
interpretation is unclear in current version of MathML Core.
- `operator-stretching`: Tests for operator stretching, using Gecko-specific
methods that are not part of the current version of MathML Core.
- `rtl`: Tests for RTL MathML, for aspects not completely defined in
MathML Core or for which we use things like scale transform for
mirroring.
- `scripts`: Tests for MathML scripted elements, for Gecko features
that are not defined in MathML Core or in contradiction with the spec.
- `tables`: Tests for
that are in the initial version of MathML Core.
- `whitespace-trimming`: Tests for
[whitespace trimming in token elements](https://www.w3.org/TR/MathML3/chapter2.html#fund.collapse)
which is not described in the initial version of MathML Core.
- `zoom`: Tests to check MathML rendering at different zoom levels.