DOM

DOM

Source

The lastElementChild getter steps are to return
the last child that is an element; otherwise null.

Document/childElementCount

In all current engines.

Firefox25+Safari9+Chrome29+ Opera16+Edge79+ Edge (Legacy)17+IENone Firefox for Android25+iOS Safari9+Chrome for Android29+Android WebView37+Samsung Internet2.0+Opera Mobile16+

DocumentFragment/childElementCount

In all current engines.

Firefox25+Safari9+Chrome29+ Opera16+Edge79+ Edge (Legacy)17+IENone Firefox for Android25+iOS Safari9+Chrome for Android29+Android WebView37+Samsung Internet2.0+Opera Mobile16+

Element/childElementCount

In all current engines.

Firefox3.5+Safari4+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari3+Chrome for Android18+Android WebView1+Samsung Internet1.0+Opera Mobile10.1+

The childElementCount getter steps are to return
the number of children of this that are elements.

The prepend(nodes) method steps are:

The append(nodes) method steps are:

The replaceChildren(nodes) method steps
are:

Document/querySelector

In all current engines.

Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari2+Chrome for Android18+Android WebView1+Samsung Internet1.0+Opera Mobile10.1+

The querySelector(selectors) method
steps are to return the first result of running scope-match a selectors string selectors against this, if the result is not an empty list; otherwise null.

Document/querySelectorAll

In all current engines.

Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari2+Chrome for Android18+Android WebView1+Samsung Internet1.0+Opera Mobile10.1+

Element/querySelector

In all current engines.

Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari2+Chrome for Android18+Android WebView1+Samsung Internet1.0+Opera Mobile10.1+

Element/querySelectorAll

In all current engines.

Firefox3.5+Safari3.1+Chrome1+ Opera10+Edge79+ Edge (Legacy)12+IE9+ Firefox for Android4+iOS Safari2+Chrome for Android18+Android WebView1+Samsung Internet1.0+Opera Mobile10.1+

The querySelectorAll(selectors) method
steps are to return the static result of running scope-match a selectors string selectors against this.

Web compatibility prevents the previousElementSibling and nextElementSibling attributes from being exposed on doctypes (and therefore on ChildNode).


interface mixin NonDocumentTypeChildNode { readonly attribute Element? previousElementSibling; readonly attribute Element? nextElementSibling;
};
Element includes NonDocumentTypeChildNode;
CharacterData includes NonDocumentTypeChildNode;
element = node . previousElementSibling Returns the first preceding sibling that is an element; otherwise null. element = node . nextElementSibling Returns the first following sibling that is an element; otherwise null.

Report Page