"addedNodes" are in fact the addedNodes, but only the roots of added subtrees
enforce invariant that child nodes are upgraded before ready
s/created/ready
do not try to upgrade non-element nodes
whitespace