[Bug 24872]: [Shadow DOM] Supports pseudo-classes in the matching criteria.