This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

mphantom

Summary

The MathML mphantom element is rendered invisibly, but dimensions (such as height, width, and baseline position) are still kept.

Overview Table

DOM Interface
mathml

Examples

This example demonstrates a simple usage of the mphantom element:



<math>
<mrow>
  <mi> x </mi>
  <mo> + </mo>
  <mphantom>
    <mi> y </mi>
    <mo> + </mo>
  </mphantom>
  <mi> z </mi>
</mrow>
</math>

Related specifications

MathML 3.0
W3C Recommendation

Attributions

  • Mozilla Developer Network cc-by-sa-small-wpd.svg: Article