- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 08 Jul 2026 05:32:58 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 8 July 2026 12:33:02 UTC
adoptNode() previously short-circuited for a DocumentFragment whose host is non-null (i.e. a template's content) with a bare "return", which both contradicted the Node return type and matched no implementation. All engines instead adopt the fragment and return it, so remove the step.
Tests: https://github.com/web-platform-tests/wpt/pull/61140.
Fixes #813.
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/dom/pull/1486
-- Commit Summary --
* Adopt a DocumentFragment with a host like any other node
-- File Changes --
M dom.bs (3)
-- Patch Links --
https://github.com/whatwg/dom/pull/1486.patch
https://github.com/whatwg/dom/pull/1486.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1486
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1486@github.com>
Received on Wednesday, 8 July 2026 12:33:02 UTC