Damage happens before animation. Animation sometimes delayed to next game.
Why does damage seem to happen so fast. Even the death animation happens before the killing blow animation. Of course the randomized damage that Riot thinks constitutes math happens well before the animation so the health bar is depleted by the time the animation is delivered to computer for displaying.