Revert "Implement Element.matches()."

This reverts commit b6edd5318f3fe5c751d1c011e87adbfe0cac4fcc.