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
// if children are existing push the current status to the stack and keep searching for elements in the level below
604
+
if(child.childNodes.length>0){
605
+
stack.push(index);
606
+
currentNodeReference=child;
607
+
index=0;
608
+
}
609
+
}
610
+
}
611
+
612
+
returnreasArray<HTMLElement>;
613
+
}
614
+
570
615
/**
571
616
* traverses the Element and its parents (heading toward the document root) until it finds a node that matches the provided selector string. Will return itself or the matching ancestor. If no such element exists, it returns null.
572
617
* @param selector a DOMString containing a selector list
0 commit comments