Debian Codegraph @

testing/web-platform/mozilla/tests/mathml/README.md

raw
1 # Internal MathML tests
2
3 The web-platform-tests Project provides [MathML tests](https://github.com/web-platform-tests/wpt/tree/master/mathml/)
4 for the [MathML Core](https://w3c.github.io/mathml-core/) specification. This
5 directory contains tests for [MathML3](https://www.w3.org/TR/MathML3/) features
6 implemented in Gecko or for Gecko-specific behaviors that are not described in
7 any specification:
8
9 - `disabled/`: Tests for MathML handling when support is disabled. This is
10 mostly used for Tor browser's "high security" mode, see
11 [bug 1173199](https://bugzilla.mozilla.org/1173199).
12
13 - `fonts`: font-related tests, such as OpenType features not handled yet in
14 MathML Core or other Gecko-specific behavior.
15
16 - `mathml-console-messages.html`: Tests for Gecko-specific console warning and
17 error messages triggered by MathML markup.
18
19 - `mathspaces_names`: Tests for
20 [MathML3 namedspaces](https://www.w3.org/TR/MathML3/chapter2.html#type.namedspace)
21 which are removed from MathML Core. See
22 [bug 1793549](https://bugzilla.mozilla.org/1173199).
23
24 - `mathvariant`: Tests for the
25 [mathvariant attribute](https://www.w3.org/TR/MathML3/chapter3.html#presm.commatt),
26 which is reduced to the case `<mi mathvariant="normal">` in MathML
27 Core. See [bug 1821980](https://bugzilla.mozilla.org/1821980).
28
29 - `mpadded`: Tests for some
30 [mpadded](https://www.w3.org/TR/MathML3/chapter3.html#presm.mpadded)
31 features, which are not in the initial version of MathML Core.
32
33 - `menclose`: Tests for the
34 [menclose](https://www.w3.org/TR/MathML3/chapter3.html#presm.menclose)
35 element, which is not in the initial version of MathML Core.
36 See [issue 216](https://github.com/w3c/mathml/issues/216).
37
38 - `mo-accent`: Tests for the
39 [mo@accent attribute](https://www.w3.org/TR/MathML3/chapter3.html#presm.mo.dict.attrs),
40 and the corresponding accent property from the dictionary,
41 which are removed from MathML Core.
42 See [bug 1790548](https://bugzilla.mozilla.org/1790548)
43 and [bug 1636428](https://bugzilla.mozilla.org/1636428).
44
45 - `negative-lengths`: Tests for negative lengths, for which support or
46 interpretation is unclear in current version of MathML Core.
47 See [issue 132](https://github.com/w3c/mathml-core/issues/132).
48
49 - `operator-stretching`: Tests for operator stretching, using Gecko-specific
50 methods that are not part of the current version of MathML Core.
51
52 - `rtl`: Tests for RTL MathML, for aspects not completely defined in
53 MathML Core or for which we use things like scale transform for
54 mirroring.
55 See [issue 67](https://github.com/w3c/mathml-core/issues/67).
56
57 - `scripts`: Tests for MathML scripted elements, for Gecko features
58 that are not defined in MathML Core or in contradiction with the spec.
59
60 - `tables`: Tests for
61 [table features](https://www.w3.org/TR/MathML3/chapter3.html#presm.tabmat)
62 that are in the initial version of MathML Core.
63 See [issue 125](https://github.com/w3c/mathml-core/issues/125).
64
65 - `whitespace-trimming`: Tests for
66 [whitespace trimming in token elements](https://www.w3.org/TR/MathML3/chapter2.html#fund.collapse)
67 which is not described in the initial version of MathML Core.
68 See [issue 149](https://github.com/w3c/mathml-core/issues/149).
69
70 - `zoom`: Tests to check MathML rendering at different zoom levels.