MathMLElement
The MathMLElement
interface represents any MathML element.
Properties
Also inherits properties from: DocumentAndElementEventHandlers
, Element
, GlobalEventHandlers
-
MathMLElement.attributeStyleMap
Read only -
A
StylePropertyMap
representing the declarations of the element'sstyle
attribute. MathMLElement.style
-
A
CSSStyleDeclaration
representing the declarations of the element'sstyle
attribute.
Methods
This interface has no methods, but inherits methods from: DocumentAndElementEventHandlers
, Element
, GlobalEventHandlers
Examples
MathML
<math xmlns="http://www.w3.org/1998/Math/MathML"> <msqrt> <mi>x</mi> </msqrt> </math>
JavaScript
document.querySelector('msqrt').constructor.name; // MathMLElement
Specifications
Specification |
---|
MathML Core # dom-mathmlelement |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
MathMLElement |
No |
No |
71 |
No |
No |
13.1 |
No |
No |
79 |
No |
13.4 |
No |
blur |
No |
No |
71 |
No |
No |
13.1 |
No |
No |
79 |
No |
13.4 |
No |
dataset |
No |
No |
71 |
No |
No |
13.1 |
No |
No |
79 |
No |
13.4 |
No |
focus |
No |
No |
71 |
No |
No |
13.1 |
No |
No |
79 |
No |
13.4 |
No |
tabIndex |
No |
No |
71 |
No |
No |
13.1 |
No |
No |
79 |
No |
13.4 |
No |
style |
No |
No |
71 |
No |
No |
13.1 |
No |
No |
79 |
No |
13.4 |
No |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement