Lines Matching refs:targetNode
3182 var targetNode = $(id), h = Selector.handlers;
3183 if (!targetNode) return [];
3184 if (!nodes && root == document) return [targetNode];
3189 if (targetNode.parentNode == node) return [targetNode];
3192 if (Element.descendantOf(targetNode, node)) return [targetNode];
3195 if (Selector.handlers.previousElementSibling(targetNode) == node)
3196 return [targetNode];
3200 if (node == targetNode) return [targetNode];
3203 return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : [];