w3c / w3c/csswg-drafts

[resize-observer] "Calculate depth for node" is unclear

Open
#3,840 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

resize-observer-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
Avg merge
2d 18h
Merged PRs (30d)
24

Description

https://drafts.csswg.org/resize-observer/#calculate-depth-for-node-h doesn't explain what
parent-traversal path means. Does it include Shadow DOM? In which way? Is ShadowRoot included?

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

Read the Resize Observer specification section “Calculate depth for node” at the linked CSSWG draft, focusing on the meaning of “parent-traversal path.” Determine how the definition handles Shadow DOM and whether ShadowRoot is included. Done means the specification clearly answers both questions.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.