- From: Claudia Meadows <notifications@github.com>
- Date: Thu, 21 Nov 2024 13:49:06 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 21 November 2024 21:49:09 UTC
I wonder if that choice of error tolerance could be moved to a boolean argument. Like, `parent.moveBefore(child, refNode, true)` to tolerate failure to move (like a missing custom element move callback) and `parent.moveBefore(child, refNode, false)` to throw on failure, or vice versa. That could be an acceptable compromise. Also, how does this handle the case of `parent` and `child` having different `Document`s? If I'm understanding correctly, an exception is thrown, but that's just a guess that checking "shadow-including root" equality implies that. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1307#issuecomment-2492406859 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1307/c2492406859@github.com>
Received on Thursday, 21 November 2024 21:49:09 UTC