CSS parsing/selector-matching for pseudo elements