mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 00:44:21 +00:00
insertChild, prependChild, replace and list assignment take their heap and fuel before moving a node out of its old parent. Replace past the last child charges before the push, so a child is never left without its parent link. Deleting a child or attribute by name, assigning an attribute or assigning text to an element take the fuel for the whole step before emptying the node. normalize removes the next text node before it stores the joined text.