// GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into reffy-reports // (https://github.com/tidoust/reffy-reports) // Source: Resize Observer (https://drafts.csswg.org/resize-observer/) enum ResizeObserverBoxOptions { "border-box", "content-box", "device-pixel-content-box" }; dictionary ResizeObserverOptions { ResizeObserverBoxOptions box = "content-box"; }; [Exposed=(Window)] interface ResizeObserver { constructor(ResizeObserverCallback callback); void observe(Element target, optional ResizeObserverOptions options); void unobserve(Element target); void disconnect(); }; callback ResizeObserverCallback = void (sequence entries, ResizeObserver observer); [Exposed=Window] interface ResizeObserverEntry { readonly attribute Element target; readonly attribute DOMRectReadOnly contentRect; readonly attribute FrozenArray borderBoxSize; readonly attribute FrozenArray contentBoxSize; readonly attribute FrozenArray devicePixelContentBoxSize; }; interface ResizeObserverSize { readonly attribute unrestricted double inlineSize; readonly attribute unrestricted double blockSize; }; interface ResizeObservation { constructor(Element target); readonly attribute Element target; readonly attribute ResizeObserverBoxOptions observedBox; readonly attribute FrozenArray lastReportedSizes; };