(element)
| 6737 | if ((element === document.body || element === container) && activeElementInfo.childPositions.length) return activeElementInfo; |
| 6738 | } |
| 6739 | function getChildPosition(element) { |
| 6740 | let childPosition = 0; |
| 6741 | while(element = element.previousElementSibling)childPosition++; |
| 6742 | return childPosition; |
| 6743 | } |
| 6744 | function tagNamespace(tag) { |
| 6745 | //issue: this won't disambiguate certain tags which exist in both svg and html: <a>, <title> ... |
| 6746 | if (tag === "svg" || svgTagArray.indexOf(tag) >= 0 && !(htmlTagArray.indexOf(tag) >= 0)) return "http://www.w3.org/2000/svg"; |
no outgoing calls
no test coverage detected