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
76 lines
1.9 KiB
HTML
76 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
|
<title>Comparison of script elements</title>
|
|
</head>
|
|
<body>
|
|
msubsup:
|
|
<math>
|
|
<mmultiscripts 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>
|
|
<mtext style="background-color: rgba(0, 255, 0, 0.4);">ccc</mtext>
|
|
</mmultiscripts>
|
|
</math>
|
|
|
|
<br><br>
|
|
|
|
msubsup:
|
|
<math>
|
|
<mmultiscripts 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>
|
|
<none/>
|
|
</mmultiscripts>
|
|
</math>
|
|
|
|
<br><br>
|
|
|
|
msup / msubsup:
|
|
<math>
|
|
<mmultiscripts style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
<none/>
|
|
<mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
|
|
</mmultiscripts>
|
|
</math>
|
|
|
|
<math>
|
|
<mmultiscripts style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
<none/>
|
|
<mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext>
|
|
</mmultiscripts>
|
|
</math>
|
|
|
|
<br><br>
|
|
|
|
|
|
mrow / msub:
|
|
<math>
|
|
<mrow style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
</mrow>
|
|
</math>
|
|
|
|
<math>
|
|
<mrow style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
</mrow>
|
|
</math>
|
|
|
|
<br><br>
|
|
|
|
msupsub:
|
|
<math>
|
|
<mmultiscripts style="background: red;">
|
|
<mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext>
|
|
<none />
|
|
<none />
|
|
</mmultiscripts>
|
|
</math>
|
|
|
|
</body>
|
|
</html>
|