Baseline 2023 *
Newly available
The MathMLElement
interface represents any MathML element.
Also inherits properties from its parent, Element
.
MathMLElement.attributeStyleMap
Read only
A StylePropertyMap
representing the declarations of the element's style
attribute.
MathMLElement.autofocus
Whether the control should be focused when the page loads, or when a <dialog>
or popover become shown.
MathMLElement.dataset
Read only
A DOMStringMap
object which provides a list of key/value pairs of named data attributes which correspond to custom data attributes attached to the element. This works just like HTML's HTMLElement.dataset
property and HTML's data-*
global attribute.
MathMLElement.style
A CSSStyleDeclaration
representing the declarations of the element's style
attribute.
MathMLElement.tabIndex
The position of the element in the tabbing order.
This interface also inherits methods from its parent, Element
.
MathMLElement.blur()
Removes keyboard focus from the currently focused element.
MathMLElement.focus()
Makes the element the current keyboard focus.
<math>
<msqrt>
<mi>x</mi>
</msqrt>
</math>
JavaScript
document.querySelector("msqrt").constructor.name; // MathMLElement
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4