- From: Satoshi <notifications@github.com>
- Date: Sat, 26 Aug 2023 21:42:18 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 27 August 2023 04:42:25 UTC
In the current specification, updating a child's parent reference is implicit and does not seem to be described anywhere. For example, in [appendChild](https://dom.spec.whatwg.org/#dom-node-appendchild), the parent's children are explicitly modified by [insert](https://dom.spec.whatwg.org/#concept-node-insert). > 2. If child is null, then append node to parent's children. > 3. Otherwise, insert node into parent's children before child's index. Somewhere before or after this, the appended node's parent reference should also be updated, but this is implicit. When is the appropriate time for this? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1221 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1221@github.com>
Received on Sunday, 27 August 2023 04:42:25 UTC