@Override public Selector.PseudoElementType getPseudoElementType() { return getLastSelector().getPseudoElementType(); //pseudo-elements may only be appended after the last simple selector of the selector }
Selector.SelectorPart p = visitPseudo(ctx.pseudo()); if (p != null) { if (p instanceof PseudoElement && selector_stack.peek().s.getPseudoElementType() != null) { log.warn("Invalid selector with multiple pseudo-elements"); combined_selector_stack.peek().invalid = true;