* 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)
| 6799 | |
| 6800 | |
| 6801 | function getSiblingNode(node) { |
| 6802 | while (node) { |
| 6803 | if (node.nextSibling) { |
| 6804 | return node.nextSibling; |
| 6805 | } |
| 6806 | |
| 6807 | node = node.parentNode; |
| 6808 | } |
| 6809 | } |
| 6810 | /** |
| 6811 | * Get object describing the nodes which contain characters at offset. |
| 6812 | * |
no outgoing calls
no test coverage detected