- From: Isaac Ferreira <notifications@github.com>
- Date: Sun, 25 Feb 2018 22:55:24 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 25 February 2018 22:55:47 UTC
One of the steps in the [Template Instantiation](https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Template-Instantiation.md) is to clone **HTMLTemplateElement#content** using **Node#cloneNode**. But in this way, the result won't be upgraded until it's attached to the document. On the other hand, if cloning is done using **Document#ImportNode**, the result is cloned and upgraded appropriately. This can become undesirable, for example, by using custom elements. With the current method, some lifecycles and initialization methods may be deferred. To be taken as an example, https://jsbin.com/pobavohufu/edit?js,console -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/740
Received on Sunday, 25 February 2018 22:55:47 UTC