gecko-dev/layout/reftests/mathml/mo-lspace-rspace-ref.html
Frédéric Wang 7a6019b9e2 Bug 1574750 - Remove support for MathML length values thinmathspace, mediummathspace, thickmathspace, etc. r=emilio
See https://github.com/mathml-refresh/mathml/issues/75
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/yEMdIOo4i-0

This commit introduces a new preference option
mathml.mathspace_names.disabled to disable *mathspace names for MathML lengths.
For now, these are only disabled in Nightly builds.

* test_bug553917.html is updated to check that these values now cause an
  error message to be logged into the console when mathsize names are used
  and the feature disabled.
* mathml-negativespace-ref.html and positive-namedspace.html verify support for
  mathspace names, so force running them with the support enabled.
* The reference files for mo-lspace-rspace-2.html, mo-lspace-rspace-3.html,
  mo-lspace-rspace.html, op-dict-8.html and op-dict-9.html use explicit
  lspace/rspace attributes corresponding to the one read from the operator
  dictionary. Instead of running them with mathspace names enabled, use the
  equivalent em values from core
  https://mathml-refresh.github.io/mathml-core/#operator-dictionary
  See https://github.com/mathml-refresh/mathml/issues/75#issuecomment-523016332
* Force WPT tests
  mathml/presentation-markup/fractions/frac-linethickness-002.html and
  mathml/relations/css-styling/lengths-2.html to be run with the features
  disabled and remove corresponding failure expectation.

Differential Revision: https://phabricator.services.mozilla.com/D42643

--HG--
extra : moz-landing-system : lando
2019-08-21 12:56:30 +00:00

44 lines
1.0 KiB
HTML

<!-- -*- mode: HTML; tab-width: 2; indent-tabs-mode: nil; -*- -->
<!-- vim: set tabstop=2 expandtab shiftwidth=2 textwidth=80: -->
<!DOCTYPE html>
<html>
<head>
<title>mo-lspace-rspace</title>
</head>
<body>
<p>
<!-- not in the operator dictionary -->
<math>
<mtext>_</mtext>
<mspace width="0.2777777777777778em" height="0" depth="0"></mspace>
<mtext>MO</mtext>
<mspace width="0.2777777777777778em" height="0" depth="0"></mspace>
<mtext>_</mtext>
</math>
</p>
<p>
<!-- operator.\u223F.infix = lspace:3 rspace:3 # sine wave -->
<math>
<mtext>_</mtext>
<mspace width="0.16666666666666666em" height="0" depth="0"></mspace>
<mtext>&#x0223F;</mtext>
<mspace width="0.16666666666666666em" height="0" depth="0"></mspace>
<mtext>_</mtext>
</math>
</p>
<p>
<!-- Invisible operator -->
<math>
<mtext>_</mtext>
<mtext>&#x02061;</mtext>
<mtext>_</mtext>
</math>
</p>
</body>
</html>