Let's say I have the following html:
<my-element-one>
<my-element-two>
<my-element-three></my-element-three>
</my-element-two>
</my-element-one>
Now, let's say this was parsed into a DocumentFragment. Now, I then insert the fragment into the Document. What order will the attachedCallbacks of these custom element fire? Will they consistently fire depth first (three, two, one)? Or will they fire from top to bottom (one, two, three)? Or is it entirely undetermined? If I remove the entire tree later, what order will the detachedCallbacks fire?
Finally, is this behavior consistent between the pollyfill and the W3C spec's intended behavior? I've read through a bunch of the spec and haven't found a clear answer on this.