MathMLElement

Baseline 2023 *
Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

* Some parts of this feature may have varying levels of support.

MathMLElement インターフェイスはあらゆる MathML 要素を表します。

EventTarget Node Element MathMLElement

インスタンスプロパティ

親である Element から継承したプロパティもあります。

MathMLElement.attributeStyleMap 読取専用

要素の style 属性の宣言を表す StylePropertyMap です。

MathMLElement.style

要素の style 属性の宣言を表す CSSStyleDeclaration です。

インスタンスメソッド

このインターフェイスにはメソッドがありませんが、親である Element から継承したメソッドがあります。

MathML

html
<math>
  <msqrt>
    <mi>x</mi>
  </msqrt>
</math>

JavaScript

js
document.querySelector("msqrt").constructor.name; // MathMLElement

仕様書

Specification
MathML Core
# dom-mathmlelement

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
MathMLElement
attributeStyleMap
autofocus
blur
dataset
focus
nonce
style
tabIndex

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.

関連情報