ampproject / ampproject/worker-dom

Shadow DOM

Open
#859 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

I see `attachShadow` is listed as a feature that will not be supported in [the table](https://github.com/ampproject/worker-dom/blob/c3a59cf2b3cb9fdb134ed7aa27f649172f5d082b/web_compat_table.md).

It would be awesome though! But I can see how complex it would be.

If it existed in the future, I would love to try it with `OffscreenCanvas` in http://lume.io. The Lume elements use Shadow DOM.

Contributor guide

Open the contributing guide

Research direction

Start by reading web_compat_table.md and the current attachShadow entry, then trace the TypeScript DOM implementation entry point for related APIs. Because the issue gives no implementation or tests, define the supported Shadow DOM scope and a reproducible test before considering it done.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, 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.