- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 25 Aug 2023 08:31:34 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 25 August 2023 15:31:41 UTC
Looking at https://dontcallmedom.github.io/webdex/c.html#clone%20a%20node%40%40dom%25%25dfn that doesn't really seem worth it. Perhaps once there are more callers? We should modernize the algorithm though as per https://infra.spec.whatwg.org/#algorithm-params. Probably the document argument should be an optional named argument and s/clone children flag/deep/ can just be an optional boolean. It's kinda annoying that for consistency it would have to default to false. Perhaps we could consider flipping that, but not sure it's worth it. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1220#issuecomment-1693547043 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1220/1693547043@github.com>
Received on Friday, 25 August 2023 15:31:41 UTC