Comment 3 for bug 1267552

Revision history for this message
Martin Owens (doctormo) wrote :

Fixed in r12905. The pseudo-class logic was subtly different from class and attribute matching, it would simply return true if a pseudo class matched. Which might make sense if the pseudo class was always last (only element pseudo classes are) and if the matching algorithm was processing them front to back. So I've simply changed the match logic to match class and attribute logic and fixed the issue.