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 要素を表します。
インスタンスプロパティ
親である 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> |
ブラウザーの互換性
Loading…