···1212 morphNodes(node, guide, idMap);
1313}
14141515+// For each node with an ID, push that ID into the IDSet on the IDMap, for each of its parent elements.
1516function populateIdMapForNode(node: ParentNode, idMap: IdMap): void {
1617 const elementsWithIds: NodeListOf<Element> = node.querySelectorAll("[id]");
1718