<mphantom>
Baseline 2023Newly available
Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
MathML の <mphantom>
要素は、表示上は不可視だが一定の広がり(高さ、幅、ベースライン位置)を維持した要素です。
属性
- class, id, style
-
Provided for use with stylesheets.
- mathbackground
-
背景色。
#rgb
,#rrggbb
および HTML color names を用いることができる。
例
Sample rendering:
Rendering in your browser:
html
<math>
<mrow>
<mi> x </mi>
<mo> + </mo>
<mphantom>
<mi> y </mi>
<mo> + </mo>
</mphantom>
<mi> z </mi>
</mrow>
</math>
仕様書
Specification |
---|
MathML Core # making-sub-expressions-invisible-mphantom |
ブラウザーごとの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
mphantom |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.