ampproject / ampproject/worker-dom
Support `Document.head`
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/ampproject/worker-dom/pull/407#discussion_r271966063
Should we support this concept? What would the implementation look like for modifying document.head in a Worker reflected to the main thread? Are styles encapsulated?
Until we decide, should we make `Document.documentElement = null`?
Contributor guide
Research direction
Start with the discussion in pull request #407, especially the linked comment, and review the issue's questions about Document.head, modifying it in a Worker, style encapsulation, and Document.documentElement. This issue is ready only after the project decides the intended behavior and defines what support or interim behavior counts as done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100