Skip to content

HTMLAreaElement

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

HTMLAreaElement is an interface in idl/html.webidl, inheriting HTMLElement, exposed in Window. It includes HTMLHyperlinkElementUtils. 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
Image maps Widely available Partial 13% 38 of 272 subtests pass 17
download Widely available Not yet 0 of 4 subtests pass 1
constructor
[HTMLConstructor] constructor();
attribute
attribute DOMString alt;
int32_t niso_html_area_element_get_alt(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_area_element_set_alt(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute
attribute DOMString coords;
int32_t niso_html_area_element_get_coords(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_area_element_set_coords(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute
attribute DOMString shape;
int32_t niso_html_area_element_get_shape(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_area_element_set_shape(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute
attribute DOMString target;
int32_t niso_html_area_element_get_target(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_area_element_set_target(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute download: Not yet
attribute DOMString download;
int32_t niso_html_area_element_get_download(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_area_element_set_download(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute
attribute DOMString rel;
int32_t niso_html_area_element_get_rel(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_area_element_set_rel(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
stringifier attribute USVString href;
int32_t niso_html_hyperlink_element_utils_get_href(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_href(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
readonly attribute USVString origin;
int32_t niso_html_hyperlink_element_utils_get_origin(niso_dom* dom, niso_handle self, niso_str* out);
attribute from HTMLHyperlinkElementUtils
attribute USVString protocol;
int32_t niso_html_hyperlink_element_utils_get_protocol(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_protocol(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString username;
int32_t niso_html_hyperlink_element_utils_get_username(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_username(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString password;
int32_t niso_html_hyperlink_element_utils_get_password(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_password(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString host;
int32_t niso_html_hyperlink_element_utils_get_host(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_host(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString hostname;
int32_t niso_html_hyperlink_element_utils_get_hostname(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_hostname(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString port;
int32_t niso_html_hyperlink_element_utils_get_port(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_port(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString pathname;
int32_t niso_html_hyperlink_element_utils_get_pathname(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_pathname(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString search;
int32_t niso_html_hyperlink_element_utils_get_search(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_search(niso_dom* dom, niso_handle self, const char* value, size_t value_len);
attribute from HTMLHyperlinkElementUtils
attribute USVString hash;
int32_t niso_html_hyperlink_element_utils_get_hash(niso_dom* dom, niso_handle self, niso_str* out);
int32_t niso_html_hyperlink_element_utils_set_hash(niso_dom* dom, niso_handle self, const char* value, size_t value_len);

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.

  • attributionSrc (Attribution reporting)
  • interestForElement (Interest invokers)
  • ping (ping)
  • referrerPolicy (Referrer policy)
  • relList (Image maps)
  • toString (Image maps)