Previusly the implementation only was serializing PseudoElements if they were the last element in the CompoundSelector. This caused bugs on Javascript code that referenced their selectorText, where it would be wrong.