mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
These tests compare scripted elements (e.g. `munderover` or `mmultiscripts`) with empty scripts (e.g. `<mspace/>` or `<none/>`) against the equivalent constructs without the empty scripts (e.g. `mover`, `msup` etc). Gecko has some specific adjustments to make them render the same, taking into account "ink" and logical metrics. It's not clear whether this is aligned with MathML Core and one of the test is even failing on some platforms (likely due to different system fonts) so for now we just keep them as internal WPT tests. Differential Revision: https://phabricator.services.mozilla.com/D203572
39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Test munderover with empty scripts</title>
|
|
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=669932">
|
|
<link rel="match" href="munderover-empty-scripts-ref.html">
|
|
<meta name="assert" content="Verify elements with empty under/over scripts render the same as equivalent elements with less scripts.">
|
|
</head>
|
|
<body>
|
|
|
|
<p>munder / munderover with empty overscript:
|
|
<math>
|
|
<munder style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
<mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
|
|
</munder>
|
|
</math>
|
|
</p>
|
|
|
|
<p>mover / munderover with empty underscript:
|
|
<math>
|
|
<mover style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
<mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
|
|
</mover>
|
|
</math>
|
|
</p>
|
|
|
|
<p>mrow / munder with empty scripts:
|
|
<math>
|
|
<mrow style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
</mrow>
|
|
</math>
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|