Skip to content

ResizeObserverEntry

Generated from idl/resize-observer.webidl when the site was built at 7aa23e2.

ResizeObserverEntry is an interface in idl/resize-observer.webidl, exposed in Window. What it does is on MDN; this page says what niso has of it.

contentRect is the standard’s DOMRectReadOnly.

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
Resize observer Widely available Partial 53% 68 of 127 subtests pass 6
attribute
readonly attribute Element target;
int32_t niso_resize_observer_entry_get_target(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute DOMRect contentRect;
int32_t niso_resize_observer_entry_get_content_rect(niso_dom* dom, niso_handle self, niso_dom_rect* out);
attribute
readonly attribute FrozenArray<ResizeObserverSize> borderBoxSize;
int32_t niso_resize_observer_entry_get_border_box_size(niso_dom* dom, niso_handle self, niso_handles* out);
attribute
readonly attribute FrozenArray<ResizeObserverSize> contentBoxSize;
int32_t niso_resize_observer_entry_get_content_box_size(niso_dom* dom, niso_handle self, niso_handles* out);
attribute
readonly attribute FrozenArray<ResizeObserverSize> devicePixelContentBoxSize;
int32_t niso_resize_observer_entry_get_device_pixel_content_box_size(niso_dom* dom, niso_handle self, niso_handles* out);