- From: Mason Freed <notifications@github.com>
- Date: Fri, 30 Sep 2022 16:56:23 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 30 September 2022 23:56:36 UTC
@mfreed7 commented on this pull request. > @@ -4271,7 +4287,10 @@ invoked, must run these steps: "{{NotSupportedError!!exception}}" {{DOMException}}. <li><p>Return a <a lt="clone a node">clone</a> of <a>this</a>, with the - <i>clone children flag</i> set if <var>deep</var> is true. + <i>clone children flag</i> set if <var>deep</var> is true, and the + <i>clone shadows flag</i> set if <a>this</a> is a {{DocumentFragment}} whose Yeah, I don't disagree that this is a bit odd. But it's necessary (or something similar) to allow a "normal" `<template>` element to contain a declarative shadow root and get cloned properly into DOM. If you have suggestions for how to better implement that capability, I'm open to them! -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/892#discussion_r985006167 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/892/review/1127436342@github.com>
Received on Friday, 30 September 2022 23:56:36 UTC