MathMLElement

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

ブラウザーの互換性

BCD tables only load in the browser

関連情報