You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using appendChild to move #theBar into the parent child-bars element will generate the error [DOMException [HierarchyRequestError]: The operation would yield an incorrect node tree.].
Hmm, can you test without using :scope? Our support for that selector has historically not been great, so I wonder if the problem might be there, instead of in appendChild().
Basic info:
Minimal reproduction case
Given a document with the following XML:
using
appendChild
to move#theBar
into the parentchild-bars
element will generate the error[DOMException [HierarchyRequestError]: The operation would yield an incorrect node tree.]
.How does similar code behave in browsers?
Comparatively running the same in FireFox works as expected.
JSFiddle Link
The text was updated successfully, but these errors were encountered: