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…