Bugzilla/950673 master/delayed animationend statechange v2