ampproject / ampproject/worker-dom

Support `Document.head`

Open
#408 1 comment 0 reactions 0 assignees View on GitHub
API
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.