fixup! Implement Element.matches().