Skip to content

HTMLBodyElement

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

HTMLBodyElement is an interface in idl/html-elements.webidl, inheriting HTMLElement, exposed in Window. It includes WindowEventHandlers. 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
<body> Widely available No WPT tests WPT maps no test to it 1
constructor
[HTMLConstructor] constructor();
attribute from WindowEventHandlers
attribute EventHandler onafterprint;
int32_t niso_window_event_handlers_get_onafterprint(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onafterprint(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onbeforeprint;
int32_t niso_window_event_handlers_get_onbeforeprint(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onbeforeprint(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onbeforeunload;
int32_t niso_window_event_handlers_get_onbeforeunload(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onbeforeunload(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onhashchange;
int32_t niso_window_event_handlers_get_onhashchange(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onhashchange(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onlanguagechange;
int32_t niso_window_event_handlers_get_onlanguagechange(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onlanguagechange(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onmessage;
int32_t niso_window_event_handlers_get_onmessage(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onmessage(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onmessageerror;
int32_t niso_window_event_handlers_get_onmessageerror(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onmessageerror(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onoffline;
int32_t niso_window_event_handlers_get_onoffline(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onoffline(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler ononline;
int32_t niso_window_event_handlers_get_ononline(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_ononline(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onpagehide;
int32_t niso_window_event_handlers_get_onpagehide(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onpagehide(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onpagereveal;
int32_t niso_window_event_handlers_get_onpagereveal(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onpagereveal(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onpageshow;
int32_t niso_window_event_handlers_get_onpageshow(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onpageshow(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onpageswap;
int32_t niso_window_event_handlers_get_onpageswap(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onpageswap(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onpopstate;
int32_t niso_window_event_handlers_get_onpopstate(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onpopstate(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onrejectionhandled;
int32_t niso_window_event_handlers_get_onrejectionhandled(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onrejectionhandled(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onstorage;
int32_t niso_window_event_handlers_get_onstorage(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onstorage(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onunhandledrejection;
int32_t niso_window_event_handlers_get_onunhandledrejection(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onunhandledrejection(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);
attribute from WindowEventHandlers
attribute EventHandler onunload;
int32_t niso_window_event_handlers_get_onunload(niso_dom* dom, niso_handle self, void** out);
int32_t niso_window_event_handlers_set_onunload(niso_dom* dom, niso_handle self, niso_event_handler_non_null_fn value_fn, void* value_userdata, niso_drop_fn value_drop);