<div>
<xml3d>
<!--- more stuff -->
</xml3d>
</div>
to the DOM (using, e.g. appendChild), the MutationRecord's addedNodes list only contains the toplevel <div>. Since xml3d.js only checks the nodes in the list, the newly added xml3d tag is missed, and nothing is initialized.
When adding a structure such as
to the DOM (using, e.g.
appendChild
), the MutationRecord'saddedNodes
list only contains the toplevel<div>
. Since xml3d.js only checks the nodes in the list, the newly added xml3d tag is missed, and nothing is initialized.