/** * Returns the CSS previous sibling node of the given node. */ protected static Node getCSSPreviousSibling(Node n) { if (n instanceof CSSNavigableNode) { return ((CSSNavigableNode) n).getCSSPreviousSibling(); } return n.getPreviousSibling(); }
/** * Returns the CSS previous sibling node of the given node. */ protected static Node getCSSPreviousSibling(Node n) { if (n instanceof CSSNavigableNode) { return ((CSSNavigableNode) n).getCSSPreviousSibling(); } return n.getPreviousSibling(); }
/** * Returns the CSS previous sibling node of the given node. */ protected static Node getCSSPreviousSibling(Node n) { if (n instanceof CSSNavigableNode) { return ((CSSNavigableNode) n).getCSSPreviousSibling(); } return n.getPreviousSibling(); }