このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

View in English Always switch to English

MathMLElement

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2023年1月⁩.

* 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

ブラウザーの互換性

関連情報