Files
firefox/testing/web-platform/mozilla/tests/mathml/scripts/munderover-empty-scripts-ref.html
Frédéric Wang 734d7c42ab Bug 1882817 - Export reftests for empty scripts to internal WPT tests. r=emilio
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
2024-03-05 19:20:17 +00:00

39 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Test munderover with empty scripts</title>
</head>
<body>
<p>munder / munderover with empty overscript:
<math>
<munderover 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>
<mspace></mspace>
</munderover>
</math>
</p>
<p>mover / munderover with empty underscript:
<math>
<munderover style="background: red;">
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
<mspace></mspace>
<mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
</munderover>
</math>
</p>
<p>mrow / munder with empty scripts:
<math>
<munderover style="background: red;">
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
<mspace></mspace>
<mspace></mspace>
</munderover>
</math>
</p>
</body>
</html>