w3c / w3c/csswg-drafts

[resize-observer] Introduce a granularity to indicate the sensibility of observe?

Open
#3,663 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

resize-observer-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

https://drafts.csswg.org/resize-observer-1/#dom-resizeobserver-observe

There might be size shaking during layout which web developer might not be interested.
Introduce a granularity could filter this kind of resize notification.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ResizeObserver.observe definition at the linked CSSWG specification section and review the issue's three-comment discussion. Clarify what granularity should measure, how it filters layout-size changes, and the observable behavior expected by web developers; the issue is complete only once the proposal is sufficiently specified for the draft.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.