add support for :outside and nested pseudoselectors