Re: [whatwg/dom] When cloning a custom element, `element.outerHTML !== element.cloneNode().outerHTML` appears (#922)

@annevk Thanks for the answer, i am read wrong.

But I am curious why the "synchronous custom elements flag" is not set in cloneNode? In the above example, it seems more reasonable to execute the constructor and then copy the attribute.

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

Received on Wednesday, 11 November 2020 09:58:01 UTC