Skip to content

<template for> with empty "for" attribute patches "in place"#61429

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-8116632
Jul 21, 2026
Merged

<template for> with empty "for" attribute patches "in place"#61429
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-8116632

Conversation

@chromium-wpt-export-bot

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator
  • Added behind a new flag (DeclarativeFragment)
  • When for is empty, we use the template itself as the marker
  • the template is attached at start, and removed when done.

Some existing test has a subtest where the existing behavior is
asserted. Separated that to own test with .txt expectations.

See
https://github.com/WICG/declarative-partial-updates/blob/frag-alternatives/fragment-include-explainer.md

Chromestatus / I2P:
https://chromestatus.com/feature/5188900898340864

Bug: 535664974
Change-Id: Id691865a6884273eab493bc7b0f6eee153835626
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8116632
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1665490}

- Added behind a new flag (DeclarativeFragment)
- When for is empty, we use the template itself as the marker
- the template is attached at start, and removed when done.

Some existing test has a subtest where the existing behavior is
asserted. Separated that to own test with .txt expectations.

See
https://github.com/WICG/declarative-partial-updates/blob/frag-alternatives/fragment-include-explainer.md

Chromestatus / I2P:
https://chromestatus.com/feature/5188900898340864

Bug: 535664974
Change-Id: Id691865a6884273eab493bc7b0f6eee153835626
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8116632
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1665490}

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot
chromium-wpt-export-bot merged commit a87b659 into master Jul 21, 2026
28 checks passed
@chromium-wpt-export-bot
chromium-wpt-export-bot deleted the chromium-export-cl-8116632 branch July 21, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants