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
Move before is specified on the ParentNode interface. This means it cannot be used to move a node before a Comment or Text node. This is an unfortunate limitation since it seeminly arbitrarily restricts where an atomic move can be applied.
In particular some web libraries use Comment nodes as markers to separate dynamic renderable "holes" in the DOM. These libraries cannot use moveBefore since it would require inserting before a Comment node.