This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Currently it isn't clear how <element> behaves when it is dynamically inserted into the tree by a script. But it should be aware of that. Here is why: I'm trying to describe coming Web Components "packaging" feature in terms of XHR and <element> tree implantation, from the XHR.response document to the host document. i.e. We can explain packaging by moving <element> nodes from XHR document to the host document, which should (IMO) trigger a series of custom element instantiation. For make this happen, we need to clarify it.
I am repurposing this bug to define when processing declarations occurs.
Fixed in https://dvcs.w3.org/hg/webcomponents/rev/cc3c27c7fc74.