w3c / w3c/csswg-drafts

Inheritance makes shadow roots observable

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

Nobody has claimed this yet.

topic: shadow
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

Violating shadow root encapsulation is a bad problem and we should fix this, not just for UA shadow roots.

See https://github.com/whatwg/html/issues/3748 for more context.

cc @emilio @rniwa @smaug----

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 by reading the linked WHATWG HTML issue 3748 and the discussion here to understand how inheritance exposes shadow roots. No file, test, or implementation entry point is named in this issue. Done means defining and implementing behavior that preserves shadow-root encapsulation beyond UA shadow roots, with coverage identified during the investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.