Re: [whatwg/dom] Add cloneable option to ShadowRootInit (Issue #1137)

It's also pretty clear that `element.attachShadow({mode: 'closed', cloneable: true}).cloneNode(true)` should continue to throw because that would result in a shadow root that's not attached to any host whereas `element.attachShadow({[~](mode: 'closed', cloneable: true)}); element.cloneNode(true)` should clone the shadow tree.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1137#issuecomment-1352465873
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1137/1352465873@github.com>

Received on Thursday, 15 December 2022 02:10:31 UTC