ampproject / ampproject/worker-dom

APIs needed by lit-html

Open
#19 0 comments 6 reactions 1 assignee Claimed by @kristoferbaxter View on GitHub
API
Dominant language
TypeScript
Stars
3.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

We would love to get lit-html working in worker-dom.

At a glance it appears we need these APIs that aren't implemented yet:

- [ ] CustomElementRegistry#upgrade
- [ ] Document#adoptNode
- [x] Document#createComment
- [ ] Document#createTreeWalker
- [ ] Document#customElements
- [ ] Document#importNode
- [x] Element#innerHTML
- [ ] HTMLTemplateElement#content

`innerHTML` is going to be difficult, since we use the parsed tree immediately after setting it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.