Consider all the pseudo-classes in a given compound selector when com…
…puting restyle hints, not just the rightmost one. For some reason when I wrote this code I mixed up the rules for pseudo-elements (rightmost, maximum of one) with those of pseudo-classes (which have no such restriction). This caused a correctness issue which can be demonstrated with the associated reftest modification.