* Get the next sibling within a container. This will walk up the * DOM if a node's siblings have been exhausted. * * @param {DOMElement|DOMTextNode} node * @return {?DOMElement|DOMTextNode}
(node)
| 5650 | * @return {?DOMElement|DOMTextNode} |
| 5651 | */ |
| 5652 | function getSiblingNode(node) { |
| 5653 | while (node) { |
| 5654 | if (node.nextSibling) { |
| 5655 | return node.nextSibling; |
| 5656 | } |
| 5657 | node = node.parentNode; |
| 5658 | } |
| 5659 | } |
| 5660 | |
| 5661 | /** |
| 5662 | * Get object describing the nodes which contain characters at offset. |
no outgoing calls
no test coverage detected