mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
7a6019b9e2
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
44 lines
1.0 KiB
HTML
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>∿</mtext>
|
|
<mspace width="0.16666666666666666em" height="0" depth="0"></mspace>
|
|
<mtext>_</mtext>
|
|
</math>
|
|
</p>
|
|
|
|
<p>
|
|
<!-- Invisible operator -->
|
|
<math>
|
|
<mtext>_</mtext>
|
|
<mtext>⁡</mtext>
|
|
<mtext>_</mtext>
|
|
</math>
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|