Element
is the most general base class from which all element objects (i.e. objects that represent elements) in a Document
inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element
. For example, the HTMLElement
interface is the base interface for HTML elements, while the SVGElement
interface is the basis for all SVG elements. Most functionality is specified further down the class hierarchy.
Languages outside the realm of the Web platform, like XUL through the XULElement
interface, also implement Element
.
<div id="interfaceDiagram" style="display: inline-block; position: relative; width: 100%; padding-bottom: 11.666666666666666%; vertical-align: middle; overflow: hidden;"><svg style="display: inline-block; position: absolute; top: 0; left: 0;" viewbox="-50 0 600 70" preserveAspectRatio="xMinYMin meet"><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a></svg></div>
a:hover text { fill: #0095DD; pointer-events: all;}
Properties
Inherits properties from its parent interface, Node
, and by extension that interface's parent, EventTarget
. It implements the properties of ParentNode
, ChildNode
, NonDocumentTypeChildNode
, and Animatable
.
Element.attributes
Read only- Returns a
NamedNodeMap
object containing the assigned attributes of the corresponding HTML element. Element.classList
Read only- Returns a
DOMTokenList
containing the list of class attributes. Element.className
- Is a
DOMString
representing the class of the element. Element.clientHeight
Read only- Returns a
Number
representing the inner height of the element. Element.clientLeft
Read only- Returns a
Number
representing the width of the left border of the element. Element.clientTop
Read only- Returns a
Number
representing the width of the top border of the element. Element.clientWidth
Read only- Returns a
Number
representing the inner width of the element. Element.computedName
Read only- Returns a
DOMString
containing the label exposed to accessibility. Element.computedRole
Read only- Returns a
DOMString
containing the ARIA role that has been applied to a particular element. Element.id
- Is a
DOMString
representing the id of the element. Element.innerHTML
- Is a
DOMString
representing the markup of the element's content. Element.localName
Read only- A
DOMString
representing the local part of the qualified name of the element. Element.namespaceURI
Read only- The namespace URI of the element, or
null
if it is no namespace.Note: In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the
http://www.w3.org/1999/xhtml
namespace in both HTML and XML trees. NonDocumentTypeChildNode.nextElementSibling
Read only- Is an
Element
, the element immediately following the given one in the tree, ornull
if there's no sibling node. Element.outerHTML
- Is a
DOMString
representing the markup of the element including its content. When used as a setter, replaces the element with nodes parsed from the given string. Element.part
- Represents the part identifier(s) of the element (i.e. set using the
part
attribute), returned as aDOMTokenList
. Element.prefix
Read only- A
DOMString
representing the namespace prefix of the element, ornull
if no prefix is specified. NonDocumentTypeChildNode.previousElementSibling
Read only- Is a
Element
, the element immediately preceding the given one in the tree, ornull
if there is no sibling element. Element.scrollHeight
Read only- Returns a
Number
representing the scroll view height of an element. Element.scrollLeft
- Is a
Number
representing the left scroll offset of the element. Element.scrollLeftMax
' Read only- Returns a
Number
representing the maximum left scroll offset possible for the element. Element.scrollTop
- A
Number
representing number of pixels the top of the document is scrolled vertically. Element.scrollTopMax
' Read only- Returns a
Number
representing the maximum top scroll offset possible for the element. Element.scrollWidth
Read only- Returns a
Number
representing the scroll view width of the element. Element.shadowRoot
Read only- Returns the open shadow root that is hosted by the element, or null if no open shadow root is present.
Element.openOrClosedShadowRoot
' Read only- Returns the shadow root that is hosted by the element, regardless if its open or closed. Available only to WebExtensions.
Element.slot
'- Returns the name of the shadow DOM slot the element is inserted in.
Element.tabStop
'- Is a
Boolean
indicating if the element can receive input focus via the tab key. Element.tagName
Read only- Returns a
String
with the name of the tag for the given element. Element.undoManager
' Read only- Returns the
UndoManager
associated with the element. Element.undoScope
'- Is a
Boolean
indicating if the element is an undo scope host, or not.
Note: DOM Level 3 defined namespaceURI
, localName
and prefix
on the Node
interface. In DOM4 they were moved to Element
.
This change is implemented in Chrome since version 46.0 and Firefox since version 48.0.
Properties included from Slotable
The Element
interface includes the following property, defined on the Slotable
mixin.
Slotable.assignedSlot
Read only- Returns a
HTMLSlotElement
representing the<slot>
the node is inserted in.
Event handlers
Element.onfullscreenchange
- An event handler for the
fullscreenchange
event, which is sent when the element enters or exits full-screen mode. This can be used to watch both for successful expected transitions, but also to watch for unexpected changes, such as when your app is running in the background. Element.onfullscreenerror
- An event handler for the
fullscreenerror
event, which is sent when an error occurs while attempting to change into full-screen mode.
Methods
Inherits methods from its parents Node
, and its own parent, EventTarget
, and implements those of ParentNode
, ChildNode
, NonDocumentTypeChildNode
,' and Animatable
.
EventTarget.addEventListener()
Registers an event handler to a specific event type on the element.
Attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot
.
A shortcut method to create and run an animation on an element. Returns the created Animation object instance.
Returns the Element
which is the closest ancestor of the current element (or the current element itself) which matches the selectors given in parameter.
Element.createShadowRoot()
' '
Creates a shadow DOM on on the element, turning it into a shadow host. Returns a ShadowRoot
.
Returns a StylePropertyMapReadOnly
interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration
.
Dispatches an event to this node in the DOM and returns a Boolean
that indicates whether no handler canceled the event.
Returns an array of Animation objects currently active on the element.
Retrieves the value of the named attribute from the current node and returns it as an Object
.
Returns an array of attribute names from the current element.
Retrieves the value of the attribute with the specified name and namespace, from the current node and returns it as an Object
.
Element.getBoundingClientRect()
Returns the size of an element and its position relative to the viewport.
Returns a collection of rectangles that indicate the bounding rectangles for each line of text in a client.
Element.getElementsByClassName()
Returns a live HTMLCollection
that contains all descendants of the current element that possess the list of classes given in the parameter.
Element.getElementsByTagName()
Returns a live HTMLCollection
containing all descendant elements, of a particular tag name, from the current element.
Element.getElementsByTagNameNS()
Returns a live HTMLCollection
containing all descendant elements, of a particular tag name and namespace, from the current element.
Returns a Boolean
indicating if the element has the specified attribute or not.
Returns a Boolean
indicating if the element has the specified attribute, in the specified namespace, or not.
Returns a Boolean
indicating if the element has one or more HTML attributes present.
Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
Element.insertAdjacentElement()
Inserts a given element node at a given position relative to the element it is invoked upon.
Parses the text as HTML or XML and inserts the resulting nodes into the tree in the position given.
Inserts a given text node at a given position relative to the element it is invoked upon.
Returns a Boolean
indicating whether or not the element would be selected by the specified selector string.
Returns a CSSPseudoElement
representing the child pseudo-element matched by the specified pseudo-element selector.
Returns the first Node
which matches the specified selector string relative to the element.
Returns a NodeList
of nodes which match the specified selector string relative to the element.
Element.releasePointerCapture()
Releases (stops) pointer capture that was previously set for a specific pointer event
.
Removes the element from the children list of its parent.
Removes the named attribute from the current node.
Removes the attribute with the specified name and namespace, from the current node.
EventTarget.removeEventListener()
Removes an event listener from the element.
Asynchronously asks the browser to make the element full-screen.
Element.requestPointerLock()
'
Allows to asynchronously ask for the pointer to be locked on the given element.
Scrolls to a particular set of coordinates inside a given element.
Scrolls an element by the given amount.
Scrolls the page until the element gets into the view.
Scrolls to a particular set of coordinates inside a given element.
Sets the value of a named attribute of the current node.
Sets the value of the attribute with the specified name and namespace, from the current node.
Sets up mouse event capture, redirecting all mouse events to this element.
Designates a specific element as the capture target of future pointer events.
Toggles a boolean attribute, removing it if it is present and adding it if it is not present, on the specified element.
Obsolete methods
Retrieves the node representation of the named attribute from the current node and returns it as an Attr
.
Element.getAttributeNodeNS()
'
Retrieves the node representation of the attribute with the specified name and namespace, from the current node and returns it as an Attr
.
Element.removeAttributeNode()
'
Removes the node representation of the named attribute from the current node.
Sets the node representation of the named attribute from the current node.
Element.setAttributeNodeNS()
'
Sets the node representation of the attribute with the specified name and namespace, from the current node.
Events
Listen to these events using addEventListener()
or by assigning an event listener to the oneventname
property of this interface.
cancel
- Fires on a
<dialog>
when the user instructs the browser that they wish to dismiss the current open dialog. For example, the browser might fire this event when the user presses the Esc key or clicks a "Close dialog" button which is part of the browser's UI. Also available via theoncancel
property. error
- Fired when a resource failed to load, or can't be used. For example, if a script has an execution error or an image can't be found or is invalid. Also available via the
onerror
property. scroll
- Fired when the document view or an element has been scrolled. Also available via the
onscroll
property. select
- Fired when some text has been selected. Also available via the
onselect
property. show
- Fired when a
contextmenu
event was fired on/bubbled to an element that has acontextmenu
attribute. ' Also available via theonshow
property. wheel
- Fired when the user rotates a wheel button on a pointing device (typically a mouse). Also available via the
onwheel
property.
Clipboard events
copy
- Fired when the user initiates a copy action through the browser's user interface. Also available via the
oncopy
property. cut
- Fired when the user initiates a cut action through the browser's user interface. Also available via the
oncut
property. paste
- Fired when the user initiates a paste action through the browser's user interface. Also available via the
onpaste
property.
Composition events
compositionend
- Fired when a text composition system such as an input method editor completes or cancels the current composition session.
compositionstart
- Fired when a text composition system such as an input method editor starts a new composition session.
compositionupdate
- Fired when a new character is received in the context of a text composition session controlled by a text composition system such as an input method editor.
Focus events
blur
- Fired when an element has lost focus. Also available via the
onblur
property. focus
- Fired when an element has gained focus. Also available via the
onfocus
property focusin
- Fired when an element is about to gain focus.
focusout
- Fired when an element is about to lose focus.
Fullscreen events
fullscreenchange
- Sent to an
Element
when it transitions into or out of full-screen mode. Also available via theonfullscreenchange
property. fullscreenerror
- Sent to an
Element
if an error occurs while attempting to switch it into or out of full-screen mode. Also available via theonfullscreenerror
property.
Keyboard events
keydown
- Fired when a key is pressed. Also available via the
onkeydown
property. keypress
- Fired when a key that produces a character value is pressed down. ' Also available via the
onkeypress
property. keyup
- Fired when a key is released. Also available via the
onkeyup
property.
Mouse events
auxclick
- Fired when a non-primary pointing device button (e.g., any mouse button other than the left button) has been pressed and released on an element. Also available via the
onauxclick
property. click
- Fired when a pointing device button (e.g., a mouse's primary button) is pressed and released on a single element. Also available via the
onclick
property. contextmenu
- Fired when the user attempts to open a context menu. Also available via the
oncontextmenu
property. dblclick
- Fired when a pointing device button (e.g., a mouse's primary button) is clicked twice on a single element. Also available via the
ondblclick
property. DOMActivate
'- Occurs when an element is activated, for instance, through a mouse click or a keypress.
mousedown
- Fired when a pointing device button is pressed on an element. Also available via the
onmousedown
property. mouseenter
- Fired when a pointing device (usually a mouse) is moved over the element that has the listener attached. Also available via the
onmouseenter
property. mouseleave
- Fired when the pointer of a pointing device (usually a mouse) is moved out of an element that has the listener attached to it. Also available via the
onmouseleave
property. mousemove
- Fired when a pointing device (usually a mouse) is moved while over an element. Also available via the
onmousemove
property. mouseout
- Fired when a pointing device (usually a mouse) is moved off the element to which the listener is attached or off one of its children. Also available via the
onmouseout
property. mouseover
- Fired when a pointing device is moved onto the element to which the listener is attached or onto one of its children. Also available via the
onmouseover
property. mouseup
- Fired when a pointing device button is released on an element. Also available via the
onmouseup
property. webkitmouseforcechanged
- Fired each time the amount of pressure changes on the trackpadtouchscreen.
webkitmouseforcedown
- Fired after the mousedown event as soon as sufficient pressure has been applied to qualify as a "force click".
webkitmouseforcewillbegin
- Fired before the
mousedown
event. webkitmouseforceup
- Fired after the
webkitmouseforcedown
event as soon as the pressure has been reduced sufficiently to end the "force click".
Touch events
touchcancel
- Fired when one or more touch points have been disrupted in an implementation-specific manner (for example, too many touch points are created). Also available via the
ontouchcancel
property. touchend
- Fired when one or more touch points are removed from the touch surface. Also available via the
ontouchend
property touchmove
- Fired when one or more touch points are moved along the touch surface. Also available via the
ontouchmove
property touchstart
- Fired when one or more touch points are placed on the touch surface. Also available via the
ontouchstart
property
Specifications
Specification | Status | Comment |
---|---|---|
CSS Pseudo-Elements Level 4The definition of 'Element' in that specification. | Working Draft | Added the pseudo() method.
|
Web Animations | Working Draft | Added the getAnimations() method.
|
UndoManager and DOMTransactionThe definition of 'Element' in that specification. | Editor's Draft | Added the undoScope and undoManager properties.
|
Pointer Events – Level 2The definition of 'Element' in that specification. | Recommendation | Added the following event handlers: ongotpointercapture and onlostpointercapture .
Added the following methods: |
Pointer EventsThe definition of 'Element' in that specification. | Obsolete | Added the following event handlers: ongotpointercapture and onlostpointercapture .
Added the following methods: |
Selectors API Level 1The definition of 'Element' in that specification. | Obsolete | Added the following methods: querySelector() and querySelectorAll() .
|
Pointer LockThe definition of 'Element' in that specification. | Candidate Recommendation | Added the requestPointerLock() method.
|
Fullscreen APIThe definition of 'Element' in that specification. | Living Standard | Added the requestFullscreen() method.
|
DOM Parsing and SerializationThe definition of 'Element' in that specification. | Working Draft | Added the following properties: innerHTML , and outerHTML .
Added the following method: |
CSS Object Model (CSSOM) View ModuleThe definition of 'Element' in that specification. | Working Draft | Added the following properties: scrollTop , scrollLeft , scrollWidth , scrollHeight , clientTop , clientLeft , clientWidth , and clientHeight .
Added the following methods: |
Element Traversal SpecificationThe definition of 'Element' in that specification. | Obsolete | Added inheritance of the ElementTraversal interface.
|
DOMThe definition of 'Element' in that specification. | Living Standard | Added the following methods: closest() , insertAdjacentElement() and insertAdjacentText() .
Moved |
DOM4The definition of 'Element' in that specification. | Obsolete | Removed the following methods: setIdAttribute() , setIdAttributeNS() , and setIdAttributeNode() .
Modified the return value of |
Document Object Model (DOM) Level 3 Core SpecificationThe definition of 'Element' in that specification. | Obsolete | Added the following methods: setIdAttribute() , setIdAttributeNS() , and setIdAttributeNode() . These methods were never implemented and have been removed in later specifications.
Added the |
Document Object Model (DOM) Level 2 Core SpecificationThe definition of 'Element' in that specification. | Obsolete | The normalize() method has been moved to Node .
|
Document Object Model (DOM) Level 1 SpecificationThe definition of 'Element' in that specification. | Obsolete | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Element
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 4 |
Opera
Full support 8 |
Safari
Full support 1.3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 |
Chrome
Full support Yes |
Edge
Full support 79 |
Firefox
Full support Yes |
IE
No support No |
Opera
No support No |
Safari
Full support Yes |
WebView Android
? |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
No support No |
Safari iOS
? |
Samsung Internet Android
Full support Yes | |
Chrome
No support No |
Edge
No support No |
Firefox
Full support 1 |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support 4 |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support ≤18 — 79 |
Firefox
Full support Yes |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support Yes |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support 10 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support 10 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support 10 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support 10 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support 10 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support 10 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support Yes |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support No |
Firefox
Full support 2 |
IE
? |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support 4 |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
Full support 36 |
Edge
Full support 79 |
Firefox
Full support 48 |
IE
No support No |
Opera
Full support 23 |
Safari Full support 13.1 Full support 13.1 Full support Yes Disabled' This feature is behind the |
WebView Android
Full support 37 |
Chrome Android
Full support 36 |
Firefox Android
Full support 48 |
Opera Android
Full support 24 |
Safari iOS
Full support 13.4 |
Samsung Internet Android
Full support 3.0 | |
attachShadow
|
Chrome
Full support 53 |
Edge
Full support 79 |
Firefox Full support 63 Full support 63 No support 59 — 63 Disabled' From version 59 until version 63 (exclusive): this feature is behind the |
IE
No support No |
Opera
Full support 40 |
Safari
Full support 10 |
WebView Android
Full support 53 |
Chrome Android
Full support 53 |
Firefox Android Full support 63 Full support 63 No support 59 — 63 Disabled' From version 59 until version 63 (exclusive): this feature is behind the |
Opera Android
Full support 41 |
Safari iOS
Full support 10 |
Samsung Internet Android
Full support 6.0 |
attributes
|
Chrome
Full support 26 |
Edge
Full support 12 |
Firefox
Full support 22 |
IE
Full support 5.5 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 26 |
Firefox Android
Full support 22 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 1.5 |
attributeStyleMap
|
Chrome
Full support 66 |
Edge
Full support ≤79 |
Firefox
? |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 66 |
Chrome Android
Full support 66 |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 9.0 |
auxclick event
|
Chrome
Full support 55 |
Edge
Full support ≤79 |
Firefox Full support 53 Full support 53 Notes' Starting in Firefox 68, the |
IE
No support No |
Opera
Full support 42 |
Safari
No support No |
WebView Android
Full support 55 |
Chrome Android
Full support 55 |
Firefox Android
Full support 53 |
Opera Android
Full support 42 |
Safari iOS
No support No |
Samsung Internet Android
Full support 6.0 |
Chrome
No support No |
Edge
No support No |
Firefox
Full support 2 |
IE
? |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support 4 |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
blur event
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox Full support 24 |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 3.1 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android Full support 24 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 2 |
Samsung Internet Android
Full support 1.0 |
classList
|
Chrome Full support 22 Full support 22 No support 8 — 22 Notes' Not supported for SVG elements. |
Edge Full support 16 Full support 16 No support 12 — 16 Notes' Not supported for SVG elements. |
Firefox
Full support 3.6 |
IE Partial support 10 Partial support 10 Notes' Not supported for SVG elements. |
Opera
Full support 11.5 |
Safari Full support 6.1 Full support 6.1 No support 6 — 6.1 Notes' Not supported for SVG elements. |
WebView Android Full support 4.4 Full support 4.4 No support 3 — 4.4 Notes' Not supported for SVG elements. |
Chrome Android Full support 25 Full support 25 No support 18 — 25 Notes' Not supported for SVG elements. |
Firefox Android
Full support 4 |
Opera Android
Full support 11.5 |
Safari iOS Full support 7 Full support 7 No support 5 — 7 Notes' Not supported for SVG elements. |
Samsung Internet Android Full support 1.5 Full support 1.5 No support 1.0 — 1.5 Notes' Not supported for SVG elements. |
className
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 8 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
click event
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox Full support 6 Full support 6 Notes' Beginning in Firefox 68, Firefox no longer incorrectly sends a |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 6 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 |
clientHeight
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 6 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
clientLeft
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 6 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
clientTop
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 6 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
clientWidth
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 6 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
closest
|
Chrome
Full support 41 |
Edge
Full support 15 |
Firefox
Full support 35 |
IE
No support No |
Opera
Full support 28 |
Safari
Full support 6 |
WebView Android
Full support 41 |
Chrome Android
Full support 41 |
Firefox Android
Full support 35 |
Opera Android
Full support 28 |
Safari iOS
Full support 9 |
Samsung Internet Android
Full support 4.0 |
compositionend event
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support 9 |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
compositionstart event
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support 9 |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
compositionupdate event
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support 9 |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
Chrome
Full support 66 |
Edge
Full support 79 |
Firefox
No support No |
IE
No support No |
Opera
Full support 53 |
Safari
No support No |
WebView Android
Full support 66 |
Chrome Android
Full support 66 |
Firefox Android
No support No |
Opera Android
Full support 47 |
Safari iOS
No support No |
Samsung Internet Android
Full support 9.0 | |
contextmenu event
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 6 |
IE
Full support 9 |
Opera
Full support 10.5 |
Safari
Full support 3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 6 |
Opera Android
Full support 11.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 |
copy event
|
Chrome
Full support 58 |
Edge
Full support ≤18 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support 45 |
Safari
Full support Yes |
WebView Android
Full support 58 |
Chrome Android
Full support 58 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 7.0 |
Chrome Full support 35 Full support 35 Notes' In Chrome 45, the ability to have multiple shadow roots was deprecated. No support 25 — ? Prefixed' Implemented with the vendor prefix: webkit |
Edge
Full support 79 |
Firefox No support 59 — 61 No support 59 — 61 Disabled' From version 59 until version 61 (exclusive): this feature is behind the Disabled' From version 29 until version 59 (exclusive): this feature is behind the |
IE
No support No |
Opera Full support 22 Full support 22 Notes' In Opera 32, the ability to have multiple shadow roots was deprecated. No support 15 — ? Prefixed' Implemented with the vendor prefix: webkit |
Safari
No support No |
WebView Android Full support 37 Full support 37 Notes' In version 45, the ability to have multiple shadow roots was deprecated. No support ? — ? Prefixed' Implemented with the vendor prefix: webkit |
Chrome Android Full support 35 Full support 35 Notes' In Chrome 45, the ability to have multiple shadow roots was deprecated. No support 25 — ? Prefixed' Implemented with the vendor prefix: webkit |
Firefox Android No support 59 — 61 No support 59 — 61 Disabled' From version 59 until version 61 (exclusive): this feature is behind the Disabled' From version 29 until version 59 (exclusive): this feature is behind the |
Opera Android Full support 22 Full support 22 Notes' In Opera 32, the ability to have multiple shadow roots was deprecated. No support 14 — ? Prefixed' Implemented with the vendor prefix: webkit |
Safari iOS
No support No |
Samsung Internet Android Full support 5.0 Full support 5.0 Notes' In Samsung Internet 5.0, the ability to have multiple shadow roots was deprecated. No support 4.0 — ? Prefixed' Implemented with the vendor prefix: webkit | |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
Full support 6 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
cut event
|
Chrome
Full support 58 |
Edge
Full support ≤18 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support 45 |
Safari
Full support Yes |
WebView Android
Full support 58 |
Chrome Android
Full support 58 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 7.0 |
dblclick event
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox Full support 6 Full support 6 Notes' Starting in Firefox 68, |
IE
Full support 11 |
Opera
Full support 11.6 |
Safari
Full support 3 |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support 6 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
No support No |
error event
|
Chrome
Full support Yes |
Edge
Full support ≤79 |
Firefox
Full support Yes |
IE
? |
Opera
? |
Safari
? |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
focus event
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox Full support 24 |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 3.1 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android Full support 24 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 2 |
Samsung Internet Android
Full support 1.0 |
focusin event
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 52 |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 5 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 52 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 4.2 |
Samsung Internet Android
Full support 1.0 |
focusout event
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 52 |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 5 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 52 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 4.2 |
Samsung Internet Android
Full support 1.0 |
fullscreenchange event
|
Chrome Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Edge
Full support ≤79 |
Firefox Full support 64 Full support 64 No support 10 — 64 Alternate Name' Uses the non-standard name: |
IE
? |
Opera
Full support 44 |
Safari
? |
WebView Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Chrome Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Firefox Android Full support 64 Full support 64 No support 10 — 64 Alternate Name' Uses the non-standard name: |
Opera Android
Full support 43 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
fullscreenerror event
|
Chrome Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Edge
Full support ≤79 |
Firefox Full support 64 Full support 64 No support 10 — 64 Alternate Name' Uses the non-standard name: |
IE
? |
Opera
Full support 44 |
Safari
? |
WebView Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Chrome Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Firefox Android Full support 64 Full support 64 No support 10 — 64 Alternate Name' Uses the non-standard name: |
Opera Android
Full support 43 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support 9.1 |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support 2 |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support 9.1 |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support 2 |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support 9.1 |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support 2 |
Samsung Internet Android
No support No | |
Chrome Full support 84 Full support 84 Full support 79 Disabled' From version 79: this feature is behind the Notes' Does not support the Notes' Does not automatically flush pending style changes and does not support the Notes' Does not automatically flush pending style changes and does not support the |
Edge Full support 84 Full support 84 Full support 79 Disabled' From version 79: this feature is behind the |
Firefox Full support 75 Full support 75 No support 63 — 75 Disabled' From version 63 until version 75 (exclusive): this feature is behind the Disabled' From version 48 until version 63 (exclusive): this feature is behind the Notes' Does not support the Notes' Does not support the Notes' Does not automatically flush pending style changes and does not support the |
IE
No support No |
Opera Full support 71 Full support 71 Full support 66 Disabled' From version 66: this feature is behind the Notes' Does not support the Notes' Does not automatically flush pending style changes and does not support the Notes' Does not automatically flush pending style changes and does not support the |
Safari Partial support Partial Partial support Partial Notes' Does not support the |
WebView Android
No support No |
Chrome Android Full support 84 Full support 84 Full support 79 Disabled' From version 79: this feature is behind the Notes' Does not support the Notes' Does not automatically flush pending style changes and does not support the Notes' Does not automatically flush pending style changes and does not support the |
Firefox Android Full support 63 Full support 63 Disabled' From version 63: this feature is behind the Disabled' From version 48 until version 63 (exclusive): this feature is behind the Notes' Does not support the Notes' Does not support the Notes' Does not automatically flush pending style changes and does not support the |
Opera Android Partial support 48 Partial support 48 Notes' Does not support the Notes' Does not automatically flush pending style changes and does not support the Notes' Does not automatically flush pending style changes and does not support the |
Safari iOS Partial support Partial Partial support Partial Notes' Does not support the |
Samsung Internet Android
No support No | |
getAttribute
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 23 |
IE
Full support 8 |
Opera
Full support 8 |
Safari
Full support 1.3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 23 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 |
getAttributeNames
|
Chrome
Full support 61 |
Edge
Full support 18 |
Firefox
Full support 45 |
IE
No support No |
Opera
Full support 48 |
Safari
Full support 10.1 |
WebView Android
Full support 61 |
Chrome Android
Full support 61 |
Firefox Android
Full support 45 |
Opera Android
Full support 45 |
Safari iOS
Full support 10.3 |
Samsung Internet Android
Full support 8.0 |
getAttributeNode
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
getAttributeNodeNS
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
getAttributeNS
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox Full support Yes Full support Yes Notes' Starting in Firefox 13, |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
getBoundingClientRect
|
Chrome
Full support 2 |
Edge
Full support 12 |
Firefox
Full support 3 |
IE
Full support 4 |
Opera
Full support 9.5 |
Safari
Full support 6 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS Full support 4 Full support 4 Notes' Safari for iOS will modify the effective viewport based on the user zoom. This results in incorrect values whenever the user has zoomed. |
Samsung Internet Android
Full support 1.0 |
getClientRects
|
Chrome
Full support 2 |
Edge
Full support 12 |
Firefox
Full support 3 |
IE
Full support 8 |
Opera
Full support 9.5 |
Safari
Full support 6 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 1.0 |
getElementsByClassName
|
Chrome
Full support 1 |
Edge Full support 16 Full support 16 No support 12 — 16 Notes' This function is implemented in the |
Firefox Full support 3 Full support 3 Notes' Prior to Firefox 19, this method was returning a |
IE Full support 9 Full support 9 Notes' This function is implemented in the |
Opera
Full support 9.5 |
Safari
Full support 6 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 1.0 |
getElementsByTagName
|
Chrome Full support 1 Full support 1 Notes' Initially, this method was returning a |
Edge
Full support 12 |
Firefox Full support 1 Full support 1 Notes' Prior to Firefox 19, this method was returning a |
IE
Full support 5.5 |
Opera Full support 8 Full support 8 Notes' Initially, this method was returning a |
Safari Full support 6 Full support 6 Notes' Initially, this method was returning a |
WebView Android Full support 1 Full support 1 Notes' Initially, this method was returning a |
Chrome Android Full support 18 Full support 18 Notes' Initially, this method was returning a |
Firefox Android Full support 4 Full support 4 Notes' Prior to Firefox 19, this method was returning a |
Opera Android
Full support 10.1 |
Safari iOS Full support 6 Full support 6 Notes' Initially, this method was returning a |
Samsung Internet Android Full support 1.0 Full support 1.0 Notes' Initially, this method was returning a |
getElementsByTagNameNS
|
Chrome Full support 1 Full support 1 Notes' Initially, this method was returning a |
Edge
Full support 12 |
Firefox Full support Yes Full support Yes Notes' The behavior of |
IE
Full support 5.5 |
Opera Full support Yes Full support Yes Notes' Initially, this method was returning a |
Safari Full support 6 Full support 6 Notes' Initially, this method was returning a |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android Full support Yes Full support Yes Notes' The behavior of |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
hasAttribute
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 8 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 1.0 |
hasAttributeNS
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
hasAttributes
|
Chrome
Full support Yes |
Edge
Full support 16 |
Firefox Full support Yes Full support Yes Notes' [1] Before Firefox 35, it was implemented on the |
IE
Full support 9 |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
hasPointerCapture
|
Chrome
Full support 55 |
Edge
Full support 79 |
Firefox Full support 59 Full support 59 Full support 41 Disabled' From version 41: this feature is behind the |
IE
No support No |
Opera
Full support 42 |
Safari
Full support 13 |
WebView Android
Full support 55 |
Chrome Android
Full support 55 |
Firefox Android No support No No support No Full support 41 Disabled' From version 41: this feature is behind the |
Opera Android
Full support 42 |
Safari iOS
Full support 13 |
Samsung Internet Android
Full support 6.0 |
id
|
Chrome
Full support 42 |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support 42 |
Chrome Android
Full support 42 |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 4.0 |
innerHTML
|
Chrome Full support 33 Full support 33 Notes' This API was previously available on the |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 4 |
Opera
Full support 8 |
Safari
Full support 9 |
WebView Android Full support 4.4 Full support 4.4 Notes' This API was previously available on the |
Chrome Android Full support 33 Full support 33 Notes' This API was previously available on the |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 9 |
Samsung Internet Android Full support 2.0 Full support 2.0 Notes' This API was previously available on the |
insertAdjacentElement
|
Chrome
Full support 1 |
Edge Full support 17 Full support 17 No support 12 — 17 Notes' This function is implemented in the |
Firefox
Full support 48 |
IE Full support 8 Full support 8 Notes' This function is implemented in the |
Opera
Full support 8 |
Safari
Full support 3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 48 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 |
insertAdjacentHTML
|
Chrome
Full support 1 |
Edge Full support 17 Full support 17 No support 12 — 17 Notes' This function is implemented in the |
Firefox
Full support 8 |
IE Full support 4 Full support 4 Notes' Before Internet Explorer 10, throws an "Invalid target element for this operation." error when called on a |
Opera
Full support 8 |
Safari
Full support 4 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 8 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 4 |
Samsung Internet Android
Full support 1.0 |
insertAdjacentText
|
Chrome
Full support 1 |
Edge Full support 17 Full support 17 No support 12 — 17 Notes' This function is implemented in the |
Firefox
Full support 48 |
IE Full support Yes Full support Yes Notes' This function is implemented in the |
Opera
Full support Yes |
Safari
Full support 4 |
WebView Android
Full support 2.3 |
Chrome Android
Full support 18 |
Firefox Android
Full support 48 |
Opera Android
Full support Yes |
Safari iOS
Full support 4 |
Samsung Internet Android
Full support 1.0 |
keydown event
|
Chrome
Full support Yes |
Edge
Full support ≤18 |
Firefox
Full support Yes |
IE
? |
Opera
? |
Safari
? |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
Chrome Full support Yes Full support Yes Notes' Chrome does not fire the |
Edge
Full support ≤18 |
Firefox Full support Yes Full support Yes Notes' As of Firefox 65, the |
IE
? |
Opera
? |
Safari
? |
WebView Android Full support Yes Full support Yes Notes' Chrome does not fire the |
Chrome Android Full support Yes Full support Yes Notes' Chrome does not fire the |
Firefox Android Full support Yes Full support Yes Notes' As of Firefox 65, the |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android Full support Yes Full support Yes Notes' Samsung Internet does not fire the | |
keyup event
|
Chrome
Full support Yes |
Edge
Full support ≤18 |
Firefox
Full support Yes |
IE
? |
Opera
? |
Safari
? |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
localName
|
Chrome Full support 31 Full support 31 Notes' This API was previously available on the |
Edge
Full support 17 |
Firefox Full support 48 Full support 48 Notes' This API was previously available on the |
IE
Full support 9 |
Opera
Full support Yes |
Safari
Full support 10 |
WebView Android Full support Yes Full support Yes Notes' This API was previously available on the |
Chrome Android Full support 31 Full support 31 Notes' This API was previously available on the |
Firefox Android Full support 48 Full support 48 Notes' This API was previously available on the |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android Full support 2.0 Full support 2.0 Notes' This API was previously available on the |
matches
|
Chrome Full support 33 Full support 33 Full support 4 Alternate Name' Uses the non-standard name: |
Edge Full support 15 Full support 15 Full support 12 Alternate Name' Uses the non-standard name: Alternate Name' Uses the non-standard name: |
Firefox Full support 34 Full support 34 Full support 44 Alternate Name' Uses the non-standard name: Notes' Prior to Firefox 4, invalid selector strings caused false to be returned instead of throwing an exception.
Notes' See bug 1119718 for removal.
Alternate Name' Uses the non-standard name: |
IE Full support 9 Full support 9 Alternate Name' Uses the non-standard name: |
Opera Full support 21 Full support 21 Full support 15 Alternate Name' Uses the non-standard name: Alternate Name' Uses the non-standard name: |
Safari Full support 7 Full support 7 Full support 5 Alternate Name' Uses the non-standard name: |
WebView Android Full support 4.4 Full support 4.4 Full support ≤37 Alternate Name' Uses the non-standard name: |
Chrome Android Full support 33 Full support 33 Full support 18 Alternate Name' Uses the non-standard name: |
Firefox Android Full support 34 Full support 34 Full support 44 Alternate Name' Uses the non-standard name: Notes' See bug 1119718 for removal.
Alternate Name' Uses the non-standard name: |
Opera Android Full support 21 Full support 21 Full support 14 Alternate Name' Uses the non-standard name: Alternate Name' Uses the non-standard name: |
Safari iOS Full support 8 Full support 8 Full support 4.2 Alternate Name' Uses the non-standard name: |
Samsung Internet Android Full support 2.0 Full support 2.0 Full support 1.0 Alternate Name' Uses the non-standard name: |
mousedown event
|
Chrome
Full support 2 |
Edge
Full support 12 |
Firefox
Full support 6 |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 4 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 6 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 3.2 |
Samsung Internet Android
Full support 1.0 |
mouseenter event
|
Chrome
Full support 30 |
Edge
Full support 12 |
Firefox
Full support 10 |
IE
Full support 5.5 |
Opera
Full support 17 |
Safari
Full support 6.1 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 30 |
Firefox Android
Full support 10 |
Opera Android
Full support 18 |
Safari iOS
Full support 6.1 |
Samsung Internet Android
Full support 2.0 |
mouseleave event
|
Chrome
Full support 30 |
Edge
Full support 12 |
Firefox
Full support 10 |
IE
Full support 5.5 |
Opera
Full support 17 |
Safari
Full support 6.1 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 30 |
Firefox Android
Full support 10 |
Opera Android
Full support 18 |
Safari iOS
Full support 6.1 |
Samsung Internet Android
Full support 2.0 |
mousemove event
|
Chrome
Full support 2 |
Edge
Full support 12 |
Firefox
Full support 6 |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 4 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 18 |
Firefox Android
Full support 6 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 3.2 |
Samsung Internet Android
Full support 1.0 |
mouseout event
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
mouseover event
|
Chrome
Full support 2 |
Edge
Full support 12 |
Firefox
Full support 6 |
IE
Full support 9 |
Opera
Full support 9.5 |
Safari
Full support 4 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 18 |
Firefox Android
Full support 6 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 3.2 |
Samsung Internet Android
Full support 1.0 |
mouseup event
|
Chrome
Full support 2 |
Edge
Full support 12 |
Firefox
Full support 6 |
IE
Full support 9 |
Opera
Full support 11.6 |
Safari
Full support 4 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 18 |
Firefox Android
Full support 6 |
Opera Android
Full support 12.1 |
Safari iOS
Full support 3.2 |
Samsung Internet Android
Full support 1.0 |
Chrome
Full support 31 |
Edge
Full support ≤79 |
Firefox
No support No |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
No support No |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? | |
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
No support No |
IE
Full support Yes |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
namespaceURI
|
Chrome Full support 31 Full support 31 Notes' This API was previously available on the |
Edge
Full support 17 |
Firefox Full support 48 Full support 48 Notes' This API was previously available on the |
IE
? |
Opera Full support Yes Full support Yes Notes' This API was previously available on the |
Safari
Full support 10 |
WebView Android Full support Yes Full support Yes Notes' This API was previously available on the |
Chrome Android Full support 31 Full support 31 Notes' This API was previously available on the |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android Full support 2.0 Full support 2.0 Notes' This API was previously available on the |
onfullscreenchange
|
Chrome Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Edge
Full support ≤79 |
Firefox Full support 64 Full support 64 No support 10 — 65 Alternate Name' Uses the non-standard name: |
IE
No support No |
Opera
Full support Yes |
Safari
? |
WebView Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Chrome Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Firefox Android Full support 64 Full support 64 No support 10 — 65 Alternate Name' Uses the non-standard name: |
Opera Android
Full support Yes |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
onfullscreenerror
|
Chrome Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Edge
Full support ≤79 |
Firefox Full support 64 Full support 64 No support 10 — 65 Alternate Name' Uses the non-standard name: |
IE
No support No |
Opera
Full support Yes |
Safari
? |
WebView Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Chrome Android Full support 71 Full support 71 Full support 57 Alternate Name' Uses the non-standard name: |
Firefox Android Full support 64 Full support 64 No support 10 — 65 Alternate Name' Uses the non-standard name: |
Opera Android
Full support Yes |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
Chrome
No support No |
Edge
No support No |
Firefox Full support 63 Full support 63 Notes' Available only to WebExtensions. |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android Full support 63 Full support 63 Notes' Available only to WebExtensions. |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
outerHTML
|
Chrome Full support 33 Full support 33 Notes' This API was previously available on the |
Edge
Full support 12 |
Firefox
Full support 11 |
IE
Full support 4 |
Opera
Full support 8 |
Safari
Full support 9 |
WebView Android Full support 4.4 Full support 4.4 Notes' This API was previously available on the |
Chrome Android Full support 33 Full support 33 Notes' This API was previously available on the |
Firefox Android
Full support 14 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 9 |
Samsung Internet Android Full support 2.0 Full support 2.0 Notes' This API was previously available on the |
Chrome
No support No |
Edge
No support No |
Firefox
Full support Yes |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support Yes |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
part
|
Chrome
Full support Yes |
Edge
Full support 79 |
Firefox Full support 71 Full support 71 Disabled' From version 71: this feature is behind the |
IE
No support No |
Opera
Full support Yes |
Safari
Full support 13.1 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
No support No |
Opera Android
? |
Safari iOS
Full support 13.4 |
Samsung Internet Android
Full support Yes |
paste event
|
Chrome
Full support 58 |
Edge
Full support 12 |
Firefox
Full support 22 |
IE
Full support 11 |
Opera
Full support 45 |
Safari
Full support 5 |
WebView Android
Full support 58 |
Chrome Android
Full support 58 |
Firefox Android
Full support 22 |
Opera Android
Full support 43 |
Safari iOS
Full support 4.2 |
Samsung Internet Android
Full support 7.0 |
prefix
|
Chrome Full support 31 Full support 31 Notes' This API was previously available on the |
Edge
Full support 13 |
Firefox Full support 48 Full support 48 Notes' This API was previously available on the |
IE
? |
Opera
Full support Yes |
Safari
Full support 10 |
WebView Android
Full support Yes |
Chrome Android Full support 31 Full support 31 Notes' This API was previously available on the |
Firefox Android Full support 48 Full support 48 Notes' This API was previously available on the |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android Full support 2.0 Full support 2.0 Notes' This API was previously available on the |
querySelector
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 3.5 |
IE Full support 9 Full support 9 Partial support 8 Notes' |
Opera
Full support 10 |
Safari
Full support 3.1 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 2 |
Samsung Internet Android
Full support 1.0 |
querySelectorAll
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 3.5 |
IE Full support 9 Full support 9 Partial support 8 Notes' |
Opera
Full support 10 |
Safari
Full support 3.1 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 2 |
Samsung Internet Android
Full support 1.0 |
releasePointerCapture
|
Chrome
Full support 55 |
Edge
Full support 12 |
Firefox Full support 59 Full support 59 Full support 41 Disabled' From version 41: this feature is behind the |
IE Full support 11 Full support 11 Full support 10 Prefixed' Implemented with the vendor prefix: ms |
Opera
Full support 42 |
Safari
Full support 13 |
WebView Android
Full support 55 |
Chrome Android
Full support 55 |
Firefox Android No support No No support No Full support 41 Disabled' From version 41: this feature is behind the |
Opera Android
Full support 42 |
Safari iOS
Full support 13 |
Samsung Internet Android
Full support 6.0 |
removeAttribute
|
Chrome
Full support 1 |
Edge Full support 12 Full support 12 Notes' This function doesn't respect boolean attributes' default values. See bug 12087679. |
Firefox
Full support 1 |
IE
Full support 8 |
Opera
Full support 8 |
Safari
Full support 3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 |
removeAttributeNode
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
removeAttributeNS
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
requestFullscreen
|
Chrome Full support 71 Full support 71 Full support 15 Prefixed' Implemented with the vendor prefix: webkit |
Edge Full support 79 Full support 79 Full support 79 Prefixed' Implemented with the vendor prefix: webkit No support 12 — 14 Prefixed' Implemented with the vendor prefix: webkit |
Firefox Full support 64 Full support 64 No support 47 — 65 Disabled' From version 47 until version 65 (exclusive): this feature is behind the Notes' Before Firefox 44, Firefox incorrectly allowed elements inside a |
IE Full support 11 Full support 11 Prefixed' Implemented with the vendor prefix: ms |
Opera Full support 58 Full support 58 Full support 15 Prefixed' Implemented with the vendor prefix: webkit No support 12 — 15 Prefixed' Implemented with the vendor prefix: o |
Safari Full support 6 Full support 6 Prefixed' Implemented with the vendor prefix: webkit |
WebView Android Full support 71 Full support 71 Full support ≤37 Prefixed' Implemented with the vendor prefix: webkit |
Chrome Android Full support 71 Full support 71 Full support 18 Prefixed' Implemented with the vendor prefix: webkit |
Firefox Android Full support 64 Full support 64 No support 47 — 65 Disabled' From version 47 until version 65 (exclusive): this feature is behind the Notes' Before Firefox 44, Firefox incorrectly allowed elements inside a |
Opera Android Full support 50 Full support 50 Full support 14 Prefixed' Implemented with the vendor prefix: webkit No support 12 — 14 Prefixed' Implemented with the vendor prefix: o |
Safari iOS Full support 6 Full support 6 Prefixed' Implemented with the vendor prefix: webkit Notes' Only available on iPad, not on iPhone. Shows an overlay button which can not be disabled. |
Samsung Internet Android Full support 10.0 Full support 10.0 Full support 1.0 Prefixed' Implemented with the vendor prefix: webkit |
requestPointerLock
|
Chrome Full support Yes Full support Yes Full support Yes Prefixed' Implemented with the vendor prefix: webkit |
Edge
Full support 13 |
Firefox Full support 50 Full support 50 Full support Yes Prefixed' Implemented with the vendor prefix: moz |
IE
No support No |
Opera
Full support Yes |
Safari
Full support 10 |
WebView Android Full support Yes Full support Yes Full support Yes Prefixed' Implemented with the vendor prefix: webkit |
Chrome Android Full support Yes Full support Yes Full support Yes Prefixed' Implemented with the vendor prefix: webkit |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
? |
Samsung Internet Android Full support Yes Full support Yes Full support Yes Prefixed' Implemented with the vendor prefix: webkit |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
Full support 6 |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
scroll
|
Chrome
Full support 45 |
Edge
Full support 79 |
Firefox
Full support 36 |
IE
No support No |
Opera
Full support 32 |
Safari
Full support 10 |
WebView Android
Full support 45 |
Chrome Android
Full support 45 |
Firefox Android
Full support 36 |
Opera Android
Full support 32 |
Safari iOS
No support No |
Samsung Internet Android
Full support 5.0 |
scroll event
|
Chrome
Full support Yes |
Edge
Full support ≤18 |
Firefox
Full support Yes |
IE
? |
Opera
? |
Safari
? |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
scrollBy
|
Chrome
Full support 45 |
Edge
Full support 79 |
Firefox
Full support 36 |
IE
No support No |
Opera
Full support 32 |
Safari
Full support 10 |
WebView Android
Full support 45 |
Chrome Android
Full support 45 |
Firefox Android
Full support 36 |
Opera Android
Full support 32 |
Safari iOS
No support No |
Samsung Internet Android
Full support 5.0 |
scrollHeight
|
Chrome
Full support 4 |
Edge
Full support 12 |
Firefox Full support 21 Full support 21 No support 3 — 21 Notes' In Firefox versions prior to 21, when an element's content does not generate a vertical scrollbar, then its |
IE Full support 5 Full support 5 Notes' In Internet Explorer 5 through 7, if padding is set, the value of |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support ≤37 |
Chrome Android
Full support 18 |
Firefox Android Full support 21 Full support 21 No support 4 — 21 Notes' In Firefox versions prior to 21, when an element's content does not generate a vertical scrollbar, then its |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 1.0 |
Chrome
Full support 29 |
Edge Full support 17 Full support 17 Notes' The only parameter supported is Notes' This function is implemented in the |
Firefox
Full support 1 |
IE Full support 8 Full support 8 Notes' This function is implemented in the |
Opera
Full support 38 |
Safari Full support 6 Full support 6 Notes' No support for |
WebView Android
Full support ≤37 |
Chrome Android
Full support 29 |
Firefox Android
Full support 4 |
Opera Android
Full support 41 |
Safari iOS Full support 5 Full support 5 Notes' No support for |
Samsung Internet Android
Full support 2.0 | |
Chrome
Full support 1 |
Edge
Full support 79 |
Firefox
No support No |
IE
No support No |
Opera
Full support 15 |
Safari
Full support 3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
No support No |
Opera Android
Full support 14 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 | |
scrollLeft
|
Chrome Full support 43 Full support 43 Notes' For right-to-left elements, this property uses 0-100 (most left to most right) instead of negative values. See bug 721759. |
Edge Full support 12 Full support 12 Notes' From Edge 79, for right-to-left elements, this property uses 0-100 (most left to most right) instead of negative values. See bug 721759. Notes' Before Edge 79, for right-to-left elements, this property uses 100-0 (most left to most right) instead of negative values. |
Firefox
Full support 1 |
IE Full support 8 Full support 8 Notes' For right-to-left elements, this property uses 100-0 (most left to most right) instead of negative values. |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android Full support 43 Full support 43 Notes' For right-to-left elements, this property uses 0-100 (most left to most right) instead of negative values. See bug 721759. |
Chrome Android Full support 43 Full support 43 Notes' For right-to-left elements, this property uses 0-100 (most left to most right) instead of negative values. See bug 721759. |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
Chrome
No support No |
Edge
No support No |
Firefox
Full support 16 |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support 16 |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
scrollTo
|
Chrome
Full support 45 |
Edge
Full support 79 |
Firefox
Full support 36 |
IE
No support No |
Opera
Full support 32 |
Safari
Full support 10 |
WebView Android
Full support 45 |
Chrome Android
Full support 45 |
Firefox Android
Full support 36 |
Opera Android
Full support 32 |
Safari iOS
No support No |
Samsung Internet Android
Full support 5.0 |
scrollTop
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 8 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
Chrome
No support No |
Edge
No support No |
Firefox
Full support 16 |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support 16 |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
scrollWidth
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support Yes |
IE Full support 5 Full support 5 Notes' In Internet Explorer 5 through 7, if padding is set, the value of |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support 43 |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 4.0 |
select event
|
Chrome
Full support Yes |
Edge
Full support ≤18 |
Firefox
Full support Yes |
IE
? |
Opera
? |
Safari
? |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support Yes |
setAttribute
|
Chrome
Full support 1 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE Full support 5 Full support 5 Notes' In Internet Explorer 7 and earlier, |
Opera
Full support 8 |
Safari
Full support 3 |
WebView Android
Full support 1 |
Chrome Android
Full support 18 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 1 |
Samsung Internet Android
Full support 1.0 |
setAttributeNode
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
setAttributeNodeNS
|
Chrome
Full support Yes |
Edge Full support 12 Full support 12 Notes' Returns a |
Firefox
Full support Yes |
IE Full support Yes Full support Yes Notes' Returns a |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
setAttributeNS
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support Yes |
Opera
Full support Yes |
Safari
Full support 6 |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
Chrome
No support No |
Edge No support 12 — 79 No support 12 — 79 Notes' The |
Firefox
Full support Yes |
IE Full support 5 Full support 5 Notes' The |
Opera
No support No |
Safari
? |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
? |
Opera Android
No support No |
Safari iOS
? |
Samsung Internet Android
No support No | |
setPointerCapture
|
Chrome
Full support 55 |
Edge
Full support 12 |
Firefox Full support 59 Full support 59 Full support 41 Disabled' From version 41: this feature is behind the |
IE Full support 11 Full support 11 Full support 10 Prefixed' Implemented with the vendor prefix: ms |
Opera
Full support 42 |
Safari
Full support 13 |
WebView Android
Full support 55 |
Chrome Android
Full support 55 |
Firefox Android No support No No support No Full support 41 Disabled' From version 41: this feature is behind the |
Opera Android
Full support 42 |
Safari iOS
Full support 13 |
Samsung Internet Android
Full support 6.0 |
shadowRoot
|
Chrome
Full support 43 |
Edge
Full support 79 |
Firefox Full support 63 Full support 63 No support 59 — 63 Disabled' From version 59 until version 63 (exclusive): this feature is behind the |
IE
No support No |
Opera
Full support 40 |
Safari
Full support 10 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android Full support 63 Full support 63 No support 59 — 63 Disabled' From version 59 until version 63 (exclusive): this feature is behind the |
Opera Android
Full support 41 |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 4.0 |
Chrome
No support No |
Edge
No support No |
Firefox
Full support Yes |
IE
? |
Opera
? |
Safari
? |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support Yes |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
No support No | |
slot
|
Chrome
Full support 53 |
Edge
Full support 79 |
Firefox
Full support 63 |
IE
No support No |
Opera
Full support Yes |
Safari
Full support 10 |
WebView Android
Full support 53 |
Chrome Android
Full support 53 |
Firefox Android
Full support 63 |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 6.0 |
Chrome
Full support 43 |
Edge
Full support ≤79 |
Firefox
? |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 4.0 | |
tagName
|
Chrome
Full support 43 |
Edge
Full support 12 |
Firefox
Full support 1 |
IE
Full support 8 |
Opera
Full support 8 |
Safari
Full support 6 |
WebView Android
Full support 43 |
Chrome Android
Full support 43 |
Firefox Android
Full support 4 |
Opera Android
Full support 10.1 |
Safari iOS
Full support 6 |
Samsung Internet Android
Full support 4.0 |
toggleAttribute
|
Chrome
Full support 69 |
Edge
Full support 18 |
Firefox
Full support 63 |
IE
No support No |
Opera
Full support 56 |
Safari
Full support 12 |
WebView Android
Full support 69 |
Chrome Android
Full support 69 |
Firefox Android
Full support 63 |
Opera Android
Full support 48 |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 10.0 |
touchcancel event
|
Chrome
Full support 22 |
Edge
Full support 12 |
Firefox
Full support 52 |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
Full support Yes |
Chrome Android
Full support 25 |
Firefox Android
Full support 6 |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 1.5 |
touchend event
|
Chrome
Full support 22 |
Edge
Full support 12 |
Firefox
Full support 52 |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
Full support Yes |
Chrome Android
Full support 25 |
Firefox Android
Full support 6 |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 1.5 |
touchmove event
|
Chrome
Full support 22 |
Edge
Full support 12 |
Firefox
Full support 52 |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
Full support Yes |
Chrome Android
Full support 25 |
Firefox Android
Full support 6 |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 1.5 |
touchstart event
|
Chrome
Full support 22 |
Edge
Full support 12 |
Firefox
Full support 52 |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
Full support Yes |
Chrome Android
Full support 25 |
Firefox Android
Full support 6 |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 1.5 |
Chrome
No support No |
Edge
No support No |
Firefox
Full support Yes |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
Full support Yes |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support Yes |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support Yes |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support Yes |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support Yes |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support Yes |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support Yes |
Samsung Internet Android
No support No | |
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support Yes |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support Yes |
Samsung Internet Android
No support No | |
wheel event
|
Chrome
Full support 61 |
Edge
Full support 12 |
Firefox
Full support 17 |
IE Full support 9 Full support 9 Notes' Internet Explorer only exposes the wheel event via |
Opera
Full support 48 |
Safari
Full support 7 |
WebView Android
Full support 61 |
Chrome Android
Full support 61 |
Firefox Android
Full support 17 |
Opera Android
Full support 45 |
Safari iOS
Full support 7 |
Samsung Internet Android
Full support 8.0 |
Legend
- Full support
- Full support
- Partial support
- Partial support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.'
- Experimental. Expect behavior to change in the future.
- Non-standard. Expect poor cross-browser support.'
- Non-standard. Expect poor cross-browser support.
- Deprecated. Not for use in new websites.'
- Deprecated. Not for use in new websites.
- See implementation notes.'
- See implementation notes.
- User must explicitly enable this feature.'
- User must explicitly enable this feature.
- Uses a non-standard name.'
- Uses a non-standard name.
- Requires a vendor prefix or different name for use.'
- Requires a vendor prefix or different name for use.
Element by Mozilla Contributors is licensed under CC-BY-SA 2.5.