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.1 KiB
HTML
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>
|