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.

Die MathMLElement-Schnittstelle repräsentiert jedes MathML-Element.

EventTarget Node Element MathMLElement

Instanz-Eigenschaften

Erbt auch Eigenschaften von seinem Elternteil, Element.

MathMLElement.attributeStyleMap Schreibgeschützt

Ein StylePropertyMap, das die Deklarationen des style-Attributs des Elements darstellt.

MathMLElement.style

Eine CSSStyleDeclaration, die die Deklarationen des style-Attributs des Elements darstellt.

Instanz-Methoden

Diese Schnittstelle hat keine Methoden, erbt aber Methoden von ihrem Elternteil, Element.

Beispiele

MathML

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

JavaScript

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

Spezifikationen

Specification
MathML Core
# dom-mathmlelement

Browser-Kompatibilität

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.

Siehe auch