Re: [webcomponents] Custom elements' upgrade order is ambiguous in the case of a detached node (#420)

Also see the issue #419.  Perhaps elements detached from a document is not supposed to be upgraded?

Now, I would really prefer upgrading custom elements in the order they were instantiated by the DOM API / HTML parser because that would avoid a rather expensive O(n) operation to figure out the relative ordering of each custom element at the time `defineElement` is called.

Given that the number of an upgradable element of a particular name is probably much smaller than the total number of elements in a page, this approach is less than ideal.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/420#issuecomment-193081569

Received on Monday, 7 March 2016 03:53:38 UTC