Re: [whatwg/dom] `cloneNode` should preserve element prototype (#565)

Heya, thanks for your report.

Given how https://dom.spec.whatwg.org/#concept-node-clone is defined Chrome is definitely wrong here. I'll add some tests and file a Chrome bug.

If you really think this needs to be a feature I'd prefer tracking that in a new bug. But the main way that feature would be defined would be as if doing a setPrototypeOf call afterwards so it'd be interesting to know if there are many libraries out there that have that kind of behavior.

-- 
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/565#issuecomment-372542749

Received on Tuesday, 13 March 2018 04:23:59 UTC