mozilla
Your Search Results

    <mphantom>

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

    Attributes

    class, id, style
    Provided for use with stylesheets.
    mathbackground
    The background color. You can use #rgb, #rrggbb and HTML color names.

    Examples

    Sample rendering: x+  z

    Rendering in your browser: x + y + z

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

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support Not supported (24 only) 1.0 (1.7 or earlier) Not supported 9.5 5.1
    mathbackground Not supported (24 only) 4.0 (2.0) Not supported Not supported 5.1
    Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support Not supported Not supported 1.0 (1.0) Not supported Not supported Not supported
    mathbackground Not supported Not supported 4.0 (2.0) Not supported Not supported Not supported

    Specifications

    Specification Status Comment
    MathML 3.0 Recommendation Current specification
    MathML 2.0 Recommendation Initial specification

    See also

    Document Tags and Contributors

    Contributors to this page: jswisher, Sheppy, fscholz, fred.wang, teoli
    Last updated by: fred.wang,