You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
Reacted by Oliver Williams, Nilesh Prajapati, phantomxx29474, Tejasvi, Yehonatan Daniv, Taylor Hunt, Jashepp, Henrik Tenhovirta, Toshimaru, Alistair Shepherd and 1 more
Reacted by Oliver Williams, phantomxx29474, Tejasvi and Taylor Hunt
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
Feature HTML streaming setters
ID: html-streaming-setters
Name: HTML streaming setters
Description: The streamHTML(), streamReplaceWithHTML(), streamBeforeHTML(), streamPrependHTML(), streamAppendHTML() and streamAfterHTML() DOM methods, and unsafe equivalents, return writable streams that incrementally insert HTML into an existing tree.
Activity
github-actions commentedon Sep 24, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature HTML streaming setters
streamHTML(),streamReplaceWithHTML(),streamBeforeHTML(),streamPrependHTML(),streamAppendHTML()andstreamAfterHTML()DOM methods, and unsafe equivalents, return writable streams that incrementally insert HTML into an existing tree.o-t-w commentedon Sep 24, 2026
This is a duplicate of #1366
[-]Patching and HTML Streaming methods[/-][+]HTML Streaming Setters[/+]nairnandu commentedon Sep 24, 2026
Thanks @o-t-w! Updated the proposal scope to streaming setters
tunetheweb commentedon Nov 6, 2026
The specification PR has been merged so this can be updated to replace with:
The test have been moved out of tentative state and can be seen here: