The renaming operation updates as many references to that object as possible, but not all references might be updated.
重新命名作业会尽可能为该物件的参考进行更新,但不见得会更新到所有参考。
In DOM Level 2, renaming a node was a relatively expensive operation: You had to create a new node, copy all the data to the new node, insert the new node into the tree, and delete the old one.
在DOM Level 2中,重命名一个节点的操作代价较高:必须在树中创建一个新节点,并删除老的节点。
应用推荐