csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

[resize-observer] isActive missing from ResizeObservation interface

Open Loirooriol opened this issue 3 years ago • 0 comments

https://drafts.csswg.org/resize-observer-1/#dom-resizeobservation-isactive descrives a isActive() method for ResizeObservation, but it's not in the interface definition:

interface ResizeObservation {
    constructor(Element target, ResizeObserverBoxOptions observedBox);
    readonly attribute Element target;
    readonly attribute ResizeObserverBoxOptions observedBox;
    readonly attribute FrozenArray<ResizeObserverSize> lastReportedSizes;
};

isActive is used in https://drafts.csswg.org/resize-observer-1/#gather-active-observations-at-depth:

If observation.isActive() is true

where observation is a ResizeObservation.

Loirooriol avatar Aug 17 '22 20:08 Loirooriol