HTML Streaming Setters
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- html, javascript
Research direction
This is a standards proposal for new web platform features. Review the linked specification PR (#12758) and the WHATWG HTML spec sections on the template element. Examine the existing web-platform-tests for 'template-for' and 'domparsing' to understand the test infrastructure. The work involves complex design and specification alignment, not a code change a newcomer can implement.
Written by the indexing model from the issue text.
Description
Description
This proposal aims to improve the interoperability of the built-in primitives for streaming:
HTML Enhanced Setter and Streaming Methods: Exposes a coherent set of HTML-setting methods to replace disjointed legacy APIs. The Setter methods are covered in #1416. This proposal includes streaming setter methods (streamHTML(), streamReplaceWithHTML(), streamBeforeHTML(), streamPrependHTML(), streamAppendHTML() and streamAfterHTML() DOM methods, and unsafe equivalents) alongside their *Unsafe variants.
Combined with <template for="…"> HTML element, these features give developers built-in, secure, and ergonomic mechanisms to dynamically update and stream DOM content.
Specification
https://github.com/whatwg/html/pull/12758 (this PR should be merged in time for Interop)
web-feature
web-features: html-streaming-setters
Test Links
Additional Signals
- Standards Positions:
- Firefox has signaled "Positive" for revamped DOM parsing methods (mozilla/standards-positions#1370).
- WebKit position is pending (WebKit/standards-positions#629).
- Developer Sentiment: Web developers have consistently requested a way to stream content into an element (WHATWG issue #2142) and improve
insertAdjacent*()methods (WHATWG issue #10122) (source).
- Dominant language
- JavaScript
- Stars
- 591
- Forks
- 39
- Avg merge
- 3h 8m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from web-platform-tests/interop
-
focus-area-proposal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
web-platform-tests/interop#1363 · 2 comments · 32 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
web-platform-tests/interop#1362 · 1 comment · 5 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
web-platform-tests/interop#1267 · 5 comments · 2 reactions ·
-
meta
Difficulty 1/5 Under an hour Newbie friendliness 62/100
web-platform-tests/interop#931 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
web-platform-tests/interop#1522 ·
All issues in web-platform-tests/interop
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
web-platform-tests/wpt#65844 ·
Maintainers usually reply within 1 day
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Kanevry/session-orchestrator#108 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
andromarces/agent-loops#2055 ·
Maintainers usually reply within 1 day