These are not valid selectors and Gecko is complaining. You need the `:after` to be after the attribute selector.