ampproject / ampproject/worker-dom

Support document.implementation.createHTMLDocument to unlock jQuery usage

Open
#679 7 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

jQuery uses dom.implementation.createHTMLDocument for its parseHtml call which errors when loading the library. Supporting the implementation obj/interface and a textNode on the Node object should unlock jQuery.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the DOM implementation/interface and Node definitions, then reproduce jQuery's parseHtml loading failure; done means document.implementation.createHTMLDocument and a Node textNode are supported well enough for jQuery to load.

Written by the indexing model from the issue text.

Assessment

Tech stack
jquery, typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.