[resize-observer] isActive missing from ResizeObservation interface
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ResizeObservation interface definition shown in the issue and compare it with the linked Resize Observer specification references. Update the interface so it reflects the documented isActive() method, then verify that the definition matches the specification's use of observation.isActive().
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100