The <mphantom> MathML element is rendered invisibly, but dimensions (such as height, width, and baseline position) are still kept.
Attributes
This element accepts the global MathML attributes.
Examples
<math display="block">
<mrow>
<mi>x</mi>
<mo>+</mo>
<mphantom>
<mi>y</mi>
<mo>+</mo>
</mphantom>
<mi>z</mi>
</mrow>
</math>
Examples
Technical summary
<table class="properties"> <tr> <th scope="row"> <a href="/en-US/docs/Web/Accessibility/ARIA/Reference/Roles">Implicit ARIA role</a> </th> <td> None </td> </tr> </table>
Specifications
Browser compatibility
See also
- mspace
- mpadded
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
