Skip to content

Element

Generated from idl/dom.webidl when the site was built at 7aa23e2.

Element is an interface in idl/dom.webidl, inheriting Node, exposed in Window. It includes ARIAMixin, ParentNode, NonDocumentTypeChildNode, ChildNode, Animatable. What it does is on MDN; this page says what niso has of it.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
DOM Widely available No WPT tests WPT maps no test to it 56
ARIA attribute reflection Widely available Full 41 of 41 subtests pass 44
Scroll methods on elements Widely available Partial 49% 340 of 689 subtests pass 6
Pointer Events Widely available Partial 19% 484 of 2436 subtests pass 3
Web animations Widely available Partial 91% 3301 of 3589 subtests pass 2
checkVisibility() Widely available Not yet 0 of 21 subtests pass 1
moveBefore() Limited availability Partial 42% 72 of 169 subtests pass 1
attribute
readonly attribute DOMString? namespaceURI;
int32_t niso_element_get_namespace_uri(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute DOMString? prefix;
int32_t niso_element_get_prefix(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute DOMString localName;
int32_t niso_element_get_local_name(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute DOMString tagName;
int32_t niso_element_get_tag_name(niso_dom* dom, niso_handle self, niso_str* out);
attribute
attribute DOMString id;
int32_t niso_element_get_id(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_element_set_id(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute
attribute DOMString className;
int32_t niso_element_get_class_name(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_element_set_class_name(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute
[PutForwards=value] readonly attribute DOMTokenList classList;
int32_t niso_element_get_class_list(niso_dom* dom, niso_handle self, niso_handle* out);
operation
boolean hasAttributes();
int32_t niso_element_has_attributes(niso_dom* dom, niso_handle self, bool* out);
attribute
[SameObject] readonly attribute NamedNodeMap attributes;
int32_t niso_element_get_attributes(niso_dom* dom, niso_handle self, niso_handle* out);
operation
sequence<DOMString> getAttributeNames();
int32_t niso_element_get_attribute_names(niso_dom* dom, niso_handle self, niso_strs* out);
operation
DOMString? getAttribute(DOMString qualifiedName);
int32_t niso_element_get_attribute(niso_dom* dom, niso_handle self, const char* qualified_name, size_t qualified_name_len, niso_str* out);
operation
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
int32_t niso_element_get_attribute_ns(niso_dom* dom, niso_handle self, const char* namespace_, size_t namespace__len, const char* local_name, size_t local_name_len, niso_str* out);
operation
undefined setAttribute(DOMString qualifiedName, DOMString value);
int32_t niso_element_set_attribute(niso_dom* dom, niso_handle self, const char* qualified_name, size_t qualified_name_len, const char* value, size_t value_len);
operation
undefined setAttributeNS(DOMString? namespace, DOMString qualifiedName, DOMString value);
int32_t niso_element_set_attribute_ns(niso_dom* dom, niso_handle self, const char* namespace_, size_t namespace__len, const char* qualified_name, size_t qualified_name_len, const char* value, size_t value_len);
operation
undefined removeAttribute(DOMString qualifiedName);
int32_t niso_element_remove_attribute(niso_dom* dom, niso_handle self, const char* qualified_name, size_t qualified_name_len);
operation
undefined removeAttributeNS(DOMString? namespace, DOMString localName);
int32_t niso_element_remove_attribute_ns(niso_dom* dom, niso_handle self, const char* namespace_, size_t namespace__len, const char* local_name, size_t local_name_len);
operation
boolean toggleAttribute(DOMString qualifiedName, optional boolean force);
int32_t niso_element_toggle_attribute(niso_dom* dom, niso_handle self, const char* qualified_name, size_t qualified_name_len, bool has_force, bool force, bool* out);
operation
boolean hasAttribute(DOMString qualifiedName);
int32_t niso_element_has_attribute(niso_dom* dom, niso_handle self, const char* qualified_name, size_t qualified_name_len, bool* out);
operation
boolean hasAttributeNS(DOMString? namespace, DOMString localName);
int32_t niso_element_has_attribute_ns(niso_dom* dom, niso_handle self, const char* namespace_, size_t namespace__len, const char* local_name, size_t local_name_len, bool* out);
operation
Attr? getAttributeNode(DOMString qualifiedName);
int32_t niso_element_get_attribute_node(niso_dom* dom, niso_handle self, const char* qualified_name, size_t qualified_name_len, niso_handle* out);
operation
Attr? getAttributeNodeNS(DOMString? namespace, DOMString localName);
int32_t niso_element_get_attribute_node_ns(niso_dom* dom, niso_handle self, const char* namespace_, size_t namespace__len, const char* local_name, size_t local_name_len, niso_handle* out);
operation
Attr? setAttributeNode(Attr attr);
int32_t niso_element_set_attribute_node(niso_dom* dom, niso_handle self, niso_handle attr, niso_handle* out);
operation
Attr? setAttributeNodeNS(Attr attr);
int32_t niso_element_set_attribute_node_ns(niso_dom* dom, niso_handle self, niso_handle attr, niso_handle* out);
operation
Attr removeAttributeNode(Attr attr);
int32_t niso_element_remove_attribute_node(niso_dom* dom, niso_handle self, niso_handle attr, niso_handle* out);
operation
Element? closest(DOMString selectors);
int32_t niso_element_closest(niso_dom* dom, niso_handle self, const char* selectors, size_t selectors_len, niso_handle* out);
operation
boolean matches(DOMString selectors);
int32_t niso_element_matches(niso_dom* dom, niso_handle self, const char* selectors, size_t selectors_len, bool* out);
operation
boolean webkitMatchesSelector(DOMString selectors);
int32_t niso_element_webkit_matches_selector(niso_dom* dom, niso_handle self, const char* selectors, size_t selectors_len, bool* out);
operation
HTMLCollection getElementsByTagName(DOMString qualifiedName);
int32_t niso_element_get_elements_by_tag_name(niso_dom* dom, niso_handle self, const char* qualified_name, size_t qualified_name_len, niso_handles* out);
operation
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
int32_t niso_element_get_elements_by_tag_name_ns(niso_dom* dom, niso_handle self, const char* namespace_, size_t namespace__len, const char* local_name, size_t local_name_len, niso_handles* out);
operation
HTMLCollection getElementsByClassName(DOMString classNames);
int32_t niso_element_get_elements_by_class_name(niso_dom* dom, niso_handle self, const char* class_names, size_t class_names_len, niso_handles* out);
operation
Element? insertAdjacentElement(DOMString where, Element element);
int32_t niso_element_insert_adjacent_element(niso_dom* dom, niso_handle self, const char* where, size_t where_len, niso_handle element, niso_handle* out);
operation
undefined insertAdjacentText(DOMString where, DOMString data);
int32_t niso_element_insert_adjacent_text(niso_dom* dom, niso_handle self, const char* where, size_t where_len, const char* data, size_t data_len);
attribute
attribute [LegacyNullToEmptyString] DOMString innerHTML;
int32_t niso_element_get_inner_html(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_element_set_inner_html(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute
attribute [LegacyNullToEmptyString] DOMString outerHTML;
int32_t niso_element_get_outer_html(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_element_set_outer_html(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
operation
undefined insertAdjacentHTML(DOMString position, DOMString string);
int32_t niso_element_insert_adjacent_html(niso_dom* dom, niso_handle self, const char* position, size_t position_len, const char* string, size_t string_len);
operation
[NisoGlue] DOMRectList getClientRects();

The glue’s: a DOMRectList of clientRect(0) to clientRect(clientRectCount() - 1).

operation not in JS
[NisoInternal] unsigned long clientRectCount();
int32_t niso_element_client_rect_count(niso_dom* dom, niso_handle self, uint32_t* out);
operation not in JS
[NisoInternal] DOMRect clientRect(unsigned long index);
int32_t niso_element_client_rect(niso_dom* dom, niso_handle self, uint32_t index, niso_dom_rect* out);
operation
DOMRect getBoundingClientRect();
int32_t niso_element_get_bounding_client_rect(niso_dom* dom, niso_handle self, niso_dom_rect* out);
attribute Scroll methods on elements: Partial 49%
attribute unrestricted double scrollTop;
int32_t niso_element_get_scroll_top(niso_dom* dom, niso_handle self, double* out);
int32_t niso_element_set_scroll_top(niso_dom* dom, niso_handle self, double value);
attribute Scroll methods on elements: Partial 49%
attribute unrestricted double scrollLeft;
int32_t niso_element_get_scroll_left(niso_dom* dom, niso_handle self, double* out);
int32_t niso_element_set_scroll_left(niso_dom* dom, niso_handle self, double value);
operation Scroll methods on elements: Partial 49%
undefined scrollTo(unrestricted double x, unrestricted double y);
int32_t niso_element_scroll_to(niso_dom* dom, niso_handle self, double x, double y);
operation Scroll methods on elements: Partial 49%
undefined scrollBy(unrestricted double x, unrestricted double y);
int32_t niso_element_scroll_by(niso_dom* dom, niso_handle self, double x, double y);
attribute Scroll methods on elements: Partial 49%
readonly attribute long scrollWidth;
int32_t niso_element_get_scroll_width(niso_dom* dom, niso_handle self, int32_t* out);
attribute Scroll methods on elements: Partial 49%
readonly attribute long scrollHeight;
int32_t niso_element_get_scroll_height(niso_dom* dom, niso_handle self, int32_t* out);
attribute
readonly attribute long clientTop;
int32_t niso_element_get_client_top(niso_dom* dom, niso_handle self, int32_t* out);
attribute
readonly attribute long clientLeft;
int32_t niso_element_get_client_left(niso_dom* dom, niso_handle self, int32_t* out);
attribute
readonly attribute long clientWidth;
int32_t niso_element_get_client_width(niso_dom* dom, niso_handle self, int32_t* out);
attribute
readonly attribute long clientHeight;
int32_t niso_element_get_client_height(niso_dom* dom, niso_handle self, int32_t* out);
operation Pointer Events: Partial 19%
undefined setPointerCapture(long pointerId);
int32_t niso_element_set_pointer_capture(niso_dom* dom, niso_handle self, int32_t pointer_id);
operation Pointer Events: Partial 19%
undefined releasePointerCapture(long pointerId);
int32_t niso_element_release_pointer_capture(niso_dom* dom, niso_handle self, int32_t pointer_id);
operation Pointer Events: Partial 19%
boolean hasPointerCapture(long pointerId);
int32_t niso_element_has_pointer_capture(niso_dom* dom, niso_handle self, int32_t pointer_id, bool* out);
operation checkVisibility(): Not yet
boolean checkVisibility(optional CheckVisibilityOptions options = {});
int32_t niso_element_check_visibility(niso_dom* dom, niso_handle self, const niso_check_visibility_options* options, bool* out);
operation not in JS
[NisoInternal] sequence<Animation> animations(boolean subtree, DOMString? pseudoElement);
int32_t niso_element_animations(niso_dom* dom, niso_handle self, bool subtree, const char* pseudo_element, size_t pseudo_element_len, niso_handles* out);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? role;
int32_t niso_aria_mixin_get_role(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_role(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaAtomic;
int32_t niso_aria_mixin_get_aria_atomic(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_atomic(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaAutoComplete;
int32_t niso_aria_mixin_get_aria_auto_complete(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_auto_complete(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaBrailleLabel;
int32_t niso_aria_mixin_get_aria_braille_label(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_braille_label(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaBrailleRoleDescription;
int32_t niso_aria_mixin_get_aria_braille_role_description(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_braille_role_description(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaBusy;
int32_t niso_aria_mixin_get_aria_busy(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_busy(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaChecked;
int32_t niso_aria_mixin_get_aria_checked(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_checked(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaColCount;
int32_t niso_aria_mixin_get_aria_col_count(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_col_count(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaColIndex;
int32_t niso_aria_mixin_get_aria_col_index(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_col_index(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaColIndexText;
int32_t niso_aria_mixin_get_aria_col_index_text(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_col_index_text(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaColSpan;
int32_t niso_aria_mixin_get_aria_col_span(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_col_span(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaCurrent;
int32_t niso_aria_mixin_get_aria_current(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_current(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaDescription;
int32_t niso_aria_mixin_get_aria_description(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_description(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaDisabled;
int32_t niso_aria_mixin_get_aria_disabled(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_disabled(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaExpanded;
int32_t niso_aria_mixin_get_aria_expanded(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_expanded(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaHasPopup;
int32_t niso_aria_mixin_get_aria_has_popup(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_has_popup(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaHidden;
int32_t niso_aria_mixin_get_aria_hidden(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_hidden(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaInvalid;
int32_t niso_aria_mixin_get_aria_invalid(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_invalid(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaKeyShortcuts;
int32_t niso_aria_mixin_get_aria_key_shortcuts(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_key_shortcuts(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaLabel;
int32_t niso_aria_mixin_get_aria_label(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_label(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaLevel;
int32_t niso_aria_mixin_get_aria_level(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_level(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaLive;
int32_t niso_aria_mixin_get_aria_live(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_live(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaModal;
int32_t niso_aria_mixin_get_aria_modal(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_modal(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaMultiLine;
int32_t niso_aria_mixin_get_aria_multi_line(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_multi_line(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaMultiSelectable;
int32_t niso_aria_mixin_get_aria_multi_selectable(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_multi_selectable(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaOrientation;
int32_t niso_aria_mixin_get_aria_orientation(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_orientation(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaPlaceholder;
int32_t niso_aria_mixin_get_aria_placeholder(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_placeholder(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaPosInSet;
int32_t niso_aria_mixin_get_aria_pos_in_set(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_pos_in_set(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaPressed;
int32_t niso_aria_mixin_get_aria_pressed(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_pressed(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaReadOnly;
int32_t niso_aria_mixin_get_aria_read_only(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_read_only(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaRelevant;
int32_t niso_aria_mixin_get_aria_relevant(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_relevant(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaRequired;
int32_t niso_aria_mixin_get_aria_required(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_required(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaRoleDescription;
int32_t niso_aria_mixin_get_aria_role_description(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_role_description(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaRowCount;
int32_t niso_aria_mixin_get_aria_row_count(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_row_count(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaRowIndex;
int32_t niso_aria_mixin_get_aria_row_index(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_row_index(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaRowIndexText;
int32_t niso_aria_mixin_get_aria_row_index_text(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_row_index_text(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaRowSpan;
int32_t niso_aria_mixin_get_aria_row_span(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_row_span(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaSelected;
int32_t niso_aria_mixin_get_aria_selected(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_selected(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaSetSize;
int32_t niso_aria_mixin_get_aria_set_size(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_set_size(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaSort;
int32_t niso_aria_mixin_get_aria_sort(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_sort(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaValueMax;
int32_t niso_aria_mixin_get_aria_value_max(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_value_max(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaValueMin;
int32_t niso_aria_mixin_get_aria_value_min(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_value_min(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaValueNow;
int32_t niso_aria_mixin_get_aria_value_now(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_value_now(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute ARIA attribute reflection: Full from ARIAMixin
attribute DOMString? ariaValueText;
int32_t niso_aria_mixin_get_aria_value_text(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_aria_mixin_set_aria_value_text(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from ParentNode
readonly attribute HTMLCollection children;
int32_t niso_parent_node_get_children(niso_dom* dom, niso_handle self, niso_handles* out);
attribute from ParentNode
readonly attribute Element? firstElementChild;
int32_t niso_parent_node_get_first_element_child(niso_dom* dom, niso_handle self, niso_handle* out);
attribute from ParentNode
readonly attribute Element? lastElementChild;
int32_t niso_parent_node_get_last_element_child(niso_dom* dom, niso_handle self, niso_handle* out);
attribute from ParentNode
readonly attribute unsigned long childElementCount;
int32_t niso_parent_node_get_child_element_count(niso_dom* dom, niso_handle self, uint32_t* out);
operation from ParentNode
undefined prepend((Node or DOMString)... nodes);
int32_t niso_parent_node_prepend(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);
operation from ParentNode
undefined append((Node or DOMString)... nodes);
int32_t niso_parent_node_append(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);
operation from ParentNode
undefined replaceChildren((Node or DOMString)... nodes);
int32_t niso_parent_node_replace_children(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);
operation moveBefore(): Partial 42% from ParentNode
undefined moveBefore(Node node, Node? child);
int32_t niso_parent_node_move_before(niso_dom* dom, niso_handle self, niso_handle node, niso_handle child);
operation from ParentNode
Element? querySelector(DOMString selectors);
int32_t niso_parent_node_query_selector(niso_dom* dom, niso_handle self, const char* selectors, size_t selectors_len, niso_handle* out);
operation from ParentNode
NodeList querySelectorAll(DOMString selectors);
int32_t niso_parent_node_query_selector_all(niso_dom* dom, niso_handle self, const char* selectors, size_t selectors_len, niso_handles* out);
attribute from NonDocumentTypeChildNode
readonly attribute Element? previousElementSibling;
int32_t niso_non_document_type_child_node_get_previous_element_sibling(niso_dom* dom, niso_handle self, niso_handle* out);
attribute from NonDocumentTypeChildNode
readonly attribute Element? nextElementSibling;
int32_t niso_non_document_type_child_node_get_next_element_sibling(niso_dom* dom, niso_handle self, niso_handle* out);
operation from ChildNode
undefined before((Node or DOMString)... nodes);
int32_t niso_child_node_before(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);
operation from ChildNode
undefined after((Node or DOMString)... nodes);
int32_t niso_child_node_after(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);
operation from ChildNode
undefined replaceWith((Node or DOMString)... nodes);
int32_t niso_child_node_replace_with(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);
operation from ChildNode
undefined remove();
int32_t niso_child_node_remove(niso_dom* dom, niso_handle self);
operation Web animations: Partial 91% from Animatable
[NisoGlue] Animation animate(object? keyframes, optional (unrestricted double or KeyframeAnimationOptions) options = {});
operation Web animations: Partial 91% from Animatable
[NisoGlue] sequence<Animation> getAnimations(optional GetAnimationsOptions options = {});

Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.

  • activeViewTransition (Element-scoped view transitions)
  • afterHTML (HTML setter methods)
  • afterHTMLUnsafe (HTML setter methods)
  • animationcancel event (Web animations)
  • animationend event (Web animations)
  • animationiteration event (Web animations)
  • animationstart event (Web animations)
  • appendHTML (HTML setter methods)
  • appendHTMLUnsafe (HTML setter methods)
  • ariaActiveDescendantElement (ARIA attribute reflection)
  • ariaControlsElements (ARIA attribute reflection)
  • ariaDescribedByElements (ARIA attribute reflection)
  • ariaDetailsElements (ARIA attribute reflection)
  • ariaErrorMessageElements (ARIA attribute reflection)
  • ariaFlowToElements (ARIA attribute reflection)
  • ariaLabelledByElements (ARIA attribute reflection)
  • ariaNotify (ariaNotify())
  • ariaOwnsElements (ARIA attribute reflection)
  • assignedSlot (<slot>)
  • attachShadow (Shadow DOM)
  • auxclick event (Mouse events)
  • beforeHTML (HTML setter methods)
  • beforeHTMLUnsafe (HTML setter methods)
  • beforeinput event (input (event))
  • beforematch event (hidden=“until-found”)
  • beforexrselect event (DOM overlays for WebXR)
  • blur event (Focus events)
  • click event (Mouse events)
  • compositionend event (Composition events)
  • compositionstart event (Composition events)
  • compositionupdate event (Composition events)
  • computedStyleMap (CSS typed object model)
  • contentvisibilityautostatechange event (content-visibility)
  • contextmenu event (Mouse events)
  • copy event (Clipboard events)
  • currentCSSZoom (DOM)
  • customElementRegistry (Scoped custom element registries)
  • cut event (Clipboard events)
  • dblclick event (Mouse events)
  • elementTiming (Element timing performance entries)
  • focus event (Focus events)
  • focusin event (Focus events)
  • focusout event (Focus events)
  • fullscreenchange event (Fullscreen API)
  • fullscreenerror event (Fullscreen API)
  • getBoxQuads (getBoxQuads())
  • getHTML (getHTML())
  • gotpointercapture event (Pointer Events)
  • input event (input (event))
  • keydown event (Keyboard events)
  • keyup event (Keyboard events)
  • lostpointercapture event (Pointer Events)
  • mousedown event (Mouse events)
  • mouseenter event (Mouse events)
  • mouseleave event (Mouse events)
  • mousemove event (Mouse events)
  • mouseout event (Mouse events)
  • mouseover event (Mouse events)
  • mouseup event (Mouse events)
  • part (Shadow parts)
  • paste event (Clipboard events)
  • pointercancel event (Pointer Events)
  • pointerdown event (Pointer Events)
  • pointerenter event (Pointer Events)
  • pointerleave event (Pointer Events)
  • pointermove event (Pointer Events)
  • pointerout event (Pointer Events)
  • pointerover event (Pointer Events)
  • pointerrawupdate event (Pointer Events)
  • pointerup event (Pointer Events)
  • prependHTML (HTML setter methods)
  • prependHTMLUnsafe (HTML setter methods)
  • pseudo (CSSPseudoElement)
  • replaceWithHTML (HTML setter methods)
  • replaceWithHTMLUnsafe (HTML setter methods)
  • requestFullscreen (Fullscreen API)
  • requestPointerLock (Pointer lock)
  • scroll (Scroll methods on elements)
  • scrollIntoView (scrollIntoView())
  • scroll event (Scroll methods on elements)
  • scrollend event (scrollend)
  • scrollsnapchange event (Scroll snap events)
  • scrollsnapchanging event (Scroll snap events)
  • securitypolicyviolation event (Content Security Policy (CSP))
  • setHTML (Sanitizer API)
  • setHTMLUnsafe (HTML setter methods)
  • shadowRoot (Shadow DOM)
  • slot (<slot>)
  • startViewTransition (Element-scoped view transitions)
  • streamAfterHTML (HTML streaming setters)
  • streamAfterHTMLUnsafe (HTML streaming setters)
  • streamAppendHTML (HTML streaming setters)
  • streamAppendHTMLUnsafe (HTML streaming setters)
  • streamBeforeHTML (HTML streaming setters)
  • streamBeforeHTMLUnsafe (HTML streaming setters)
  • streamHTML (HTML streaming setters)
  • streamHTMLUnsafe (HTML streaming setters)
  • streamPrependHTML (HTML streaming setters)
  • streamPrependHTMLUnsafe (HTML streaming setters)
  • streamReplaceWithHTML (HTML streaming setters)
  • streamReplaceWithHTMLUnsafe (HTML streaming setters)
  • touchcancel event (Touch events)
  • touchend event (Touch events)
  • touchmove event (Touch events)
  • touchstart event (Touch events)
  • transitioncancel event (Transitions (CSS))
  • transitionend event (Transitions (CSS))
  • transitionrun event (Transitions (CSS))
  • transitionstart event (Transitions (CSS))
  • wheel event (Wheel events)