Keira Knightley attends Chanel in halter dress