- From: Trevor Rowbotham <notifications@github.com>
- Date: Mon, 09 Aug 2021 15:08:04 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 9 August 2021 22:08:16 UTC
In the [adoptNode()](https://dom.spec.whatwg.org/#dom-document-adoptnode) steps, step 3 says "If node is a DocumentFragment node whose host is non-null, then return.", but the [interface](https://dom.spec.whatwg.org/#ref-for-dom-document-adoptnode) defines `adoptNode()` as always returning a node. Shouldn't step 3 either return node or throw, or am I missing something from IDL that would allow returning nothing? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1006
Received on Monday, 9 August 2021 22:08:16 UTC