Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /mathml/presentation-markup/operators/mo-form-fallback.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>form fallback</title>
<meta name="assert" content="Verify fallback to postfix/prefix forms.">
<link rel="match" href="mo-form-fallback-ref.html">
</head>
<body>
<!-- The left (respectively right) parenthesis only has a prefix
(respectively postfix) form which gives its stretchiness.
In theory, the parenthesis in the middle of the <math> element are
considered infix operators and should not stretch. Let's check that we
fallback to the postfix/prefix forms and actually make them stretchy.
This is to handle bad MathML markup that misses explicit <mrow> tags.
-->
<math>
<mo>(</mo> <mspace height="3em" depth="3em"/> <mo>)</mo>
<mo>(</mo> <mspace height="3em" depth="3em"/> <mo>)</mo>
</math>
<script src="/mathml/support/feature-detection.js"></script>
<script>MathMLFeatureDetection.ensure_for_match_reftest("has_mspace");</script>
</body>
</html>